MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / requestQuit

Function requestQuit

engine/src/game.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44SDL_GameController* g_controller = nullptr;
45
46static void requestQuit()
47{
48 SDL_Event quit_event;
49 quit_event.type = SDL_QUIT;
50 SDL_PushEvent(&quit_event);
51}
52
53static void pollControllerState()
54{

Callers 2

G_initializeMenusFunction · 0.85
I_updateProgramInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected