Use SDL_bool where appropriate in SDL events
This involved changing button state from Uint8 to SDL_bool, and made SDL_PRESSED and SDL_RELEASED unnecessary. Fixes https://github.com/libsdl-org/SDL/issues/10069
This commit is contained in:
parent
7d1bbae6b2
commit
6fc6e3dc7e
89 changed files with 935 additions and 956 deletions
|
@ -18,7 +18,7 @@
|
|||
static int SDLCALL keyboard_getKeyboardState(void *arg)
|
||||
{
|
||||
int numkeys;
|
||||
const Uint8 *state;
|
||||
const SDL_bool *state;
|
||||
|
||||
/* Case where numkeys pointer is NULL */
|
||||
state = SDL_GetKeyboardState(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue