Mail Archives: djgpp/1998/04/10/21:45:19
Robert Robbins wrote:
>
> Hello,
> Why does the line of code RGB white = { 63, 63, 63 }
> cause Allegro to crash? It is from the documentation.
> I wish to use set_color(0, white); to set the screen
> background color to white after loading a bitmap.
Is that the _exact code_ that you use?
This shouldn't even compile. Set_color expects a pointer
to the RGB white. This would be "set_color(0, &white);.
--
Dan Huizenga
Email: Skis AT Concentric DOT net
Visit my page: http://www.concentric.net/~skis
The Official Home Page of BGui and The Allegro Wishlist.
The Official Mirror Page of the G_Windows GenII Project.
{Finally got around to changing this. I think I posted }
{the BGui .3 ANNOUNCE with the "BGui is untouched" one :-).. }
- Raw text -