From 288aea3b40faf882f26411e6a3fe06329bba2c05 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 29 Jun 2024 11:22:29 -0700 Subject: [PATCH] Fixed build --- test/testautomation_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testautomation_video.c b/test/testautomation_video.c index d9d7d2b6dc..af49c0041c 100644 --- a/test/testautomation_video.c +++ b/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 */