Backends/SDL2/Window-Software: !x
-> x == NULL
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
b58cfcdd2f
commit
3f0d8b2e6f
1 changed files with 1 additions and 1 deletions
|
@ -87,6 +87,6 @@ void WindowBackend_Software_HandleWindowResize(unsigned int width, unsigned int
|
|||
// 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 associated with window: %s", SDL_GetError());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue