test/testpalette.c
changeset 1429 aff0170f9f1b
parent 1151 be9c9c8f6d53
child 1516 4d241ea8a1cd
     1.1 --- a/test/testpalette.c	Fri Feb 24 18:24:57 2006 +0000
     1.2 +++ b/test/testpalette.c	Sat Feb 25 15:01:44 2006 +0000
     1.3 @@ -173,6 +173,8 @@
     1.4  	quit(1);
     1.5      }
     1.6  
     1.7 +    if (vidflags & SDL_FULLSCREEN) SDL_ShowCursor (SDL_FALSE);
     1.8 +
     1.9      if(!(boat[0] = SDL_LoadBMP("sail.bmp")))
    1.10  	sdlerr("loading sail.bmp");
    1.11      /* We've chosen magenta (#ff00ff) as colour key for the boat */
    1.12 @@ -333,6 +335,7 @@
    1.13      printf("%d frames, %.2f fps\n",
    1.14  	   frames, 1000.0 * frames / (SDL_GetTicks() - start));
    1.15  
    1.16 +    if (vidflags & SDL_FULLSCREEN) SDL_ShowCursor (SDL_TRUE);
    1.17      SDL_Quit();
    1.18      return 0;
    1.19  }