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

Function main

test/full_es2_sdlproc.c:718–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716#include "SDL/SDL.h"
717
718int
719main(int argc, char *argv[])
720{
721 if (argc == 12) SDL_GL_GetProcAddress("glWhatevah");
722
723 /* Initialize the window */
724 glutInit(&argc, argv);
725 glutInitWindowSize(300, 300);
726 glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
727
728 glutCreateWindow("es2gears");
729
730 gears_idle();
731 gears_init();
732 gears_draw();
733
734 return 0;
735}

Callers

nothing calls this directly

Calls 4

SDL_GL_GetProcAddressFunction · 0.85
gears_idleFunction · 0.70
gears_initFunction · 0.70
gears_drawFunction · 0.70

Tested by

no test coverage detected