sdl2: use (+) to exit

This commit is contained in:
cpasjuste 2019-01-07 15:19:09 +01:00
parent e556d8c675
commit 67bbbe284f

View File

@ -88,8 +88,8 @@ int main(int argc, char *argv[])
} else { } else {
SDL_SetWindowSize(window, 1920, 1080); SDL_SetWindowSize(window, 1920, 1080);
} }
} else if (event.jbutton.button == 1) { } else if (event.jbutton.button == 10) {
// (B) button down // (+) button down
done = 1; done = 1;
} }
} }