delorie.com/archives/browse.cgi | search |
From: | "Andrew R. Gillett" <arg AT whangomatic DOT freeserve DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: [Allegro] Small Question |
Date: | Sat, 9 Jun 2001 22:25:34 +0100 |
Organization: | www.release-dates.co.uk |
Lines: | 17 |
Message-ID: | <MPG.158ca48093aeee4a98c0a3@news.freeserve.net> |
References: | <ssvU6.978$ac3 DOT 3341 AT newsfeed DOT slurp DOT net> |
NNTP-Posting-Host: | modem-534.turkish-angora.dialup.pol.co.uk |
X-Trace: | newsg4.svr.pol.co.uk 992121900 15516 217.134.126.22 (9 Jun 2001 21:25:00 GMT) |
NNTP-Posting-Date: | 9 Jun 2001 21:25:00 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | MicroPlanet Gravity v2.30 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
In comp.os.msdos.djgpp, Brent Ritchie wrote: > I Was just wondering I want to make a dot on the screen but it dosent > want to show up here is my code: Your problem is that you are drawing the bitmap to b, but b is a memory bitmap, it's separate from the screen. If you want to draw to the screen, specify screen in putpixel as the bitmap instead of b - or copy the contents of b to the screen using blit. (Most graphical programs write their graphics to a memory bitmap then copy that bitmap to the actual screen, so that the entire screen is updated simultaneously) -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage US videogame release dates at: http://www.release-dates.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |