mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-17 02:08:27 +00:00
SDL_EventFilter functions now return SDL_bool
This commit is contained in:
parent
57f9c6f7bb
commit
627cb8acd0
8 changed files with 20 additions and 18 deletions
|
@ -818,7 +818,7 @@ const char *SDL_GetRenderDriver(int index)
|
|||
#endif
|
||||
}
|
||||
|
||||
static int SDLCALL SDL_RendererEventWatch(void *userdata, SDL_Event *event)
|
||||
static SDL_bool SDLCALL SDL_RendererEventWatch(void *userdata, SDL_Event *event)
|
||||
{
|
||||
SDL_Renderer *renderer = (SDL_Renderer *)userdata;
|
||||
|
||||
|
@ -855,7 +855,7 @@ static int SDLCALL SDL_RendererEventWatch(void *userdata, SDL_Event *event)
|
|||
UpdateHDRProperties(renderer);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
int SDL_CreateWindowAndRenderer(const char *title, int width, int height, SDL_WindowFlags window_flags, SDL_Window **window, SDL_Renderer **renderer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue