mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Revert "Fixed build"
This reverts commit 026dfc6305
.
Fixed build again!
This commit is contained in:
@@ -1601,8 +1601,7 @@ int D3D_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, Uint32 flags)
|
||||
if (!SDL_GetWindowWMInfo(window, &windowinfo) ||
|
||||
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
|
||||
SDL_free(data);
|
||||
SDL_SetError("Couldn't get window handle");
|
||||
return NULL;
|
||||
return SDL_SetError("Couldn't get window handle");
|
||||
}
|
||||
|
||||
window_flags = SDL_GetWindowFlags(window);
|
||||
|
Reference in New Issue
Block a user