Skip to content

Commit

Permalink
Fix window minimizing on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueNightHawk committed Dec 26, 2022
1 parent d3e7116 commit 2f0fb71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cl_dll/hl_hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ void HL_ImGUI_Init()
SDL_HideWindow(firstwindow);

// Fix low fps on initial launch...
if ((window_flags & SDL_WINDOW_FULLSCREEN) == 0)
SDL_MinimizeWindow(window);
SDL_MinimizeWindow(window);
SDL_RestoreWindow(window);

glDisable(GL_STENCIL_TEST);
glStencilMask((GLuint)~0);
Expand Down

0 comments on commit 2f0fb71

Please sign in to comment.