MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / quit_tutorial

Function quit_tutorial

test/browser/perspective.c:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28static GLboolean should_rotate = GL_TRUE;
29
30static void quit_tutorial( int code )
31{
32 /*
33 * Quit SDL so we can release the fullscreen
34 * mode and restore the previous video settings,
35 * etc.
36 */
37 SDL_Quit( );
38
39 /* Exit program. */
40 exit( code );
41}
42
43static void handle_key_down( SDL_keysym* keysym )
44{

Callers 3

handle_key_downFunction · 0.85
process_eventsFunction · 0.85
mainFunction · 0.85

Calls 1

exitFunction · 0.50

Tested by

no test coverage detected