Beispiel #1
0
void EngineExit(int code)
{
    GraphicsShutDown();

    #ifdef __EMSCRIPTEN__
        emscripten_force_exit(code);
    #endif

    exit(code); // Needed at least on iOS to forcibly shut down the wrapper main()
}
Beispiel #2
0
 STARTDECL(gl_shutdown) ()
 {
     GraphicsShutDown();
     return Value();
 }