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 {
SDL_SetWindowSize(window, 1920, 1080);
}
} else if (event.jbutton.button == 1) {
// (B) button down
} else if (event.jbutton.button == 10) {
// (+) button down
done = 1;
}
}