mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 03:48:14 +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) ||
|
if (!SDL_GetWindowWMInfo(window, &windowinfo) ||
|
||||||
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
|
windowinfo.subsystem != SDL_SYSWM_WINDOWS) {
|
||||||
SDL_free(data);
|
SDL_free(data);
|
||||||
SDL_SetError("Couldn't get window handle");
|
return 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