mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 11:13:51 +00:00
Fix some missing prototype warnings
This commit is contained in:
parent
eb1d0e2876
commit
d98b74d3ad
@ -325,13 +325,13 @@ const Uint32 resize_timeout = 100;
|
||||
SDL_Event last_resize_event;
|
||||
bool last_resize_event_used = true;
|
||||
|
||||
bool resize_comparer(SDL_Event a, SDL_Event b) {
|
||||
static bool resize_comparer(SDL_Event a, SDL_Event b) {
|
||||
return a.type == SDL_WINDOWEVENT && a.type == b.type &&
|
||||
a.window.event == SDL_WINDOWEVENT_RESIZED &&
|
||||
a.window.event == b.window.event;
|
||||
}
|
||||
|
||||
bool remove_on_resize(const SDL_Event &a) {
|
||||
static bool remove_on_resize(const SDL_Event &a) {
|
||||
if (a.type == DRAW_EVENT) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user