camcontrol: fix -Wreturn-type
This commit is contained in:
parent
16d00b5672
commit
edac2dfe57
1 changed files with 2 additions and 0 deletions
|
@ -71,11 +71,13 @@ static bool wheel_event(SDL_Event *e, void *a) {
|
|||
static bool focus_gained_event(SDL_Event *e, void *a) {
|
||||
SDL_SetWindowGrab(a, true);
|
||||
SDL_CaptureMouse(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool focus_lost_event(SDL_Event *e, void *a) {
|
||||
SDL_SetWindowGrab(a, false);
|
||||
SDL_CaptureMouse(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
static void nodraw(EntityInterface *ent) { }
|
||||
|
|
Loading…
Reference in a new issue