mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- [Psy-X] skip swap interval only in DEBUG build
This commit is contained in:
parent
e1123f7aac
commit
d257a42b22
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user