Forráskód Böngészése

Fixed build

(cherry picked from commit 288aea3b40faf882f26411e6a3fe06329bba2c05)
Sam Lantinga 9 hónapja
szülő
commit
e1e36d213b
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      test/testautomation_video.c

+ 2 - 2
test/testautomation_video.c

@@ -2215,7 +2215,7 @@ static int video_getWindowSurface(void *arg)
 
     /* We shouldn't be able to create a renderer on a window with a surface */
     renderer = SDL_CreateRenderer(window, -1, renderer_flags);
-    SDLTest_AssertPass("Call to SDL_CreateRenderer(window, -1, 0x%x)", renderer_flags);
+    SDLTest_AssertPass("Call to SDL_CreateRenderer(window)");
     SDLTest_AssertCheck(renderer == NULL, "Validate that returned renderer is NULL");
 
     result = SDL_DestroyWindowSurface(window);
@@ -2225,7 +2225,7 @@ static int video_getWindowSurface(void *arg)
 
     /* We should be able to create a renderer on the window now */
     renderer = SDL_CreateRenderer(window, -1, renderer_flags);
-    SDLTest_AssertPass("Call to SDL_CreateRenderer(window, -1, 0x%x)", renderer_flags);
+    SDLTest_AssertPass("Call to SDL_CreateRenderer(window)");
     SDLTest_AssertCheck(renderer != NULL, "Validate that returned renderer is not NULL");
 
     /* We should not be able to create a window surface now, unless it was created by the renderer */