Skip to content

Commit 0a618fc

Browse files
committed
Fixed pause on precache stage
1 parent 9652e54 commit 0a618fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void CRenderDevice::End(void)
100100
if (g_pGamePersistent->GameType() == 1) // haCk
101101
{
102102
Uint32 flags = SDL_GetWindowFlags(m_sdlWnd);
103-
if (flags & SDL_WINDOW_INPUT_GRABBED)
103+
if (flags & SDL_WINDOW_INPUT_FOCUS)
104104
Pause(TRUE, TRUE, TRUE, "application start");
105105
}
106106
}

0 commit comments

Comments
 (0)