Fixed build
This commit is contained in:
1 parent
e22c89536a
commit
026dfc6305
1 file changed
+2
-1
@@ -1601,7 +1601,8 @@ int D3D_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, Uint32 flags)
|
|||||||
if (!SDL_GetWindowWMInfo(window, &windowinfo) ||
|
if (!SDL_GetWindowWMInfo(window, &windowinfo) ||
|
||||||
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
|
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
|
||||||
SDL_free(data);
|
SDL_free(data);
|
||||||
return SDL_SetError("Couldn't get window handle");
|
SDL_SetError("Couldn't get window handle");
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
window_flags = SDL_GetWindowFlags(window);
|
window_flags = SDL_GetWindowFlags(window);
|
||||||
|
|||||||
Reference in new issue
Block a user