Mail Archives: djgpp/1999/04/02/07:59:51
On 2 Apr 99 at 0:32, Jay Johnson wrote:
> BITMAP buffer;
> int temp;
> char textbuf[50];
> ...
>
> putpixel(buffer, 0, 0, 6);
You should get compiler errors -- you just passed a BITMAP
instead of a BITMAP *. This error is in the definition of
`buffer'; everything you do with Allegro is through pointers
to bitmaps, not bitmaps themselves.
> It seems like I should be getting a 6 out of the getpixel,
> but I only get 0.
Can you post a complete (but short) program that other people
can try out?
--
George
- Raw text -