mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Fixed build
This commit is contained in:
parent
e22c89536a
commit
026dfc6305
1 changed files with 2 additions and 1 deletions
|
|
@ -1601,7 +1601,8 @@ int D3D_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, Uint32 flags)
|
|||
if (!SDL_GetWindowWMInfo(window, &windowinfo) ||
|
||||
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue