Browse Source

Fixed build

Sam Lantinga 9 months ago
parent
commit
288aea3b40
1 changed files with 2 additions and 2 deletions
  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 */