fix
This commit is contained in:
parent
19235a19a7
commit
5ecc79f8b9
|
@ -680,8 +680,8 @@ void ImGui_ImplSDL2_NewFrame()
|
||||||
int w, h;
|
int w, h;
|
||||||
int display_w, display_h;
|
int display_w, display_h;
|
||||||
SDL_GetWindowSize(bd->Window, &w, &h);
|
SDL_GetWindowSize(bd->Window, &w, &h);
|
||||||
if (SDL_GetWindowFlags(bd->Window) & SDL_WINDOW_MINIMIZED)
|
/*if (SDL_GetWindowFlags(bd->Window) & SDL_WINDOW_MINIMIZED)
|
||||||
w = h = 0;
|
w = h = 0;*/
|
||||||
if (bd->Renderer != NULL)
|
if (bd->Renderer != NULL)
|
||||||
SDL_GetRendererOutputSize(bd->Renderer, &display_w, &display_h);
|
SDL_GetRendererOutputSize(bd->Renderer, &display_w, &display_h);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue