Mail Archives: djgpp/1997/01/25/22:48:35
On 25 Jan 1997 14:22:03 -0700 libolt AT goodnet DOT com (Mike McLean) writes:
>I am having trouble doing graphics in Vesa graphics modes. I am
>trying to display in 640x480 colors, what I display to the screen
>displays, yet it also displays garbage over it.
>
>this is what I use to set the mode, should i change something?
>
>set_gfx_mode(GFX_VESA2B, 640, 480, 0, 0);
>
>
You should set it so that you can check the return value, ie
int i=set_gfx_mode(GFX_VESA2B, 640, 480, 0 0);
Then check i to see if there was an error.
...Chambers
- Raw text -