- [Psy-X] skip swap interval only in DEBUG build

This commit is contained in:
InspirationByte 2022-01-13 22:21:26 +03:00
parent e1123f7aac
commit d257a42b22

View File

@ -831,6 +831,7 @@ void PsyX_Sys_DoDebugKeys(int nKey, char down)
if (gameDebugKeys)
gameDebugKeys(nKey, down);
#ifdef _DEBUG
if (nKey == SDL_SCANCODE_BACKSPACE)
{
if (down)
@ -838,6 +839,7 @@ void PsyX_Sys_DoDebugKeys(int nKey, char down)
else
g_skipSwapInterval = 0;
}
#endif
if (!down)
{