app.step == 0 protection
This commit is contained in:
parent
345f9d31ac
commit
f85b313c74
|
@ -480,6 +480,11 @@ osx_try_to_close(void){
|
||||||
external void
|
external void
|
||||||
osx_step(void){
|
osx_step(void){
|
||||||
DBG_POINT();
|
DBG_POINT();
|
||||||
|
if (app.step == 0){
|
||||||
|
LOG("app.step == 0 -- skipping\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Application_Step_Result result = {};
|
Application_Step_Result result = {};
|
||||||
result.mouse_cursor_type = APP_MOUSE_CURSOR_DEFAULT;
|
result.mouse_cursor_type = APP_MOUSE_CURSOR_DEFAULT;
|
||||||
result.trying_to_kill = !osxvars.keep_running;
|
result.trying_to_kill = !osxvars.keep_running;
|
||||||
|
|
Loading…
Reference in New Issue