Update events.c

This commit is contained in:
Jason Bou-Samra
2024-10-09 19:59:54 +11:00
committed by GitHub
parent eabba2b34e
commit ce6c691976
+2 -1
View File
@@ -12,9 +12,10 @@ bool quit = false; // Quit flag
bool gradient_d = false; // Gradient Direction flag
int game_end = 0; // 0 = game, 1 = restart, 2 = game over
////////////////////////////// EVENT LOOP //////////////////////////
int handle_events(void) {
////////////////////////////// EVENT LOOP //////////////////////////
reset();
while (game_end == 0) {
SDL_PollEvent (&event);