Backends/Rendering/SDLSurface: !x
-> x == NULL
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
2feba10654
commit
a763984486
1 changed files with 1 additions and 1 deletions
|
@ -285,6 +285,6 @@ void RenderBackend_HandleWindowResize(unsigned int width, unsigned int height)
|
|||
// We need to fetch a new surface pointer
|
||||
window_sdlsurface = SDL_GetWindowSurface(window);
|
||||
|
||||
if (!window_sdlsurface)
|
||||
if (window_sdlsurface == NULL)
|
||||
Backend_PrintError("Couldn't get SDL surface for window after resize: %s", SDL_GetError());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue