}
else
{
- Con_Printf("WARNING: can't enable multithreaded GL, CGL functions not present\n", (int) e);
+ Con_Printf("WARNING: can't enable multithreaded GL, CGL functions not present\n");
Cvar_SetValueQuick(&apple_multithreadedgl, 0);
}
}
{
printf("Received signal %d, exiting...\n", sig);
VID_RestoreSystemGamma();
- Sys_Quit();
- exit(0);
+ Sys_Quit(1);
}
void InitSig(void)
// Closed
if (AsyncEvent_Quitting)
- Sys_Quit();
+ Sys_Quit(0);
}
static void VID_BuildAGLAttrib(GLint *attrib, qboolean stencil, qboolean fullscreen, qboolean stereobuffer)
VID_AppFocusChanged(false);
break;
case kEventAppQuit:
- Sys_Quit();
+ Sys_Quit(0);
break;
case kEventAppActiveWindowChanged:
break;