Hello
I having a program using SDL. But when im setting the program to run in fullscreen
then the mouse pointer lacking.
Here is my code for the vidio settings:
screen=SDL_SetVideoMode(640,480,32,SDL_SWSURFACE|SDL_FULLSCREEN);
if ( screen == NULL )
{
printf("Unable to set 640x480 video: %s\n", SDL_GetError());
exit(1);
}
For the rendering:
void DrawScene()
{
DrawIMG(back, xpos-2, ypos-2, 132, 132, xpos-2, ypos-2);
DrawIMG(image, xpos, ypos);
DrawIMG(undermenu, 0, 326);
SDL_Flip(screen);
}
Dont know if the last code block is nessesary but i have included if you are going to need it.
In advance Thanks.