test/testautomation_video.c
changeset 9310 01f418c16580
parent 9254 6c469ea796e4
child 9892 f8e6273be2fa
equal deleted inserted replaced
9309:221b071c37d6 9310:01f418c16580
   539 int
   539 int
   540 video_getWindowBrightnessNegative(void *arg)
   540 video_getWindowBrightnessNegative(void *arg)
   541 {
   541 {
   542   const char *invalidWindowError = "Invalid window";
   542   const char *invalidWindowError = "Invalid window";
   543   char *lastError;
   543   char *lastError;
   544   const char* title = "video_getWindowBrightnessNegative Test Window";
       
   545   float result;
   544   float result;
   546 
   545 
   547   /* Call against invalid window */
   546   /* Call against invalid window */
   548   result = SDL_GetWindowBrightness(NULL);
   547   result = SDL_GetWindowBrightness(NULL);
   549   SDLTest_AssertPass("Call to SDL_GetWindowBrightness(window=NULL)");
   548   SDLTest_AssertPass("Call to SDL_GetWindowBrightness(window=NULL)");
   726 * @sa http://wiki.libsdl.org/moin.fcg/SDL_GetWindowGammaRamp
   725 * @sa http://wiki.libsdl.org/moin.fcg/SDL_GetWindowGammaRamp
   727  */
   726  */
   728 int
   727 int
   729 video_getWindowGammaRampNegative(void *arg)
   728 video_getWindowGammaRampNegative(void *arg)
   730 {
   729 {
   731   const char* title = "video_getWindowGammaRampNegative Test Window";
       
   732   Uint16 red[256];
   730   Uint16 red[256];
   733   Uint16 green[256];
   731   Uint16 green[256];
   734   Uint16 blue[256];
   732   Uint16 blue[256];
   735   int result;
   733   int result;
   736 
   734