mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed build
This commit is contained in:
parent
0d9e54237c
commit
288aea3b40
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue