camcontrol: fix -Wreturn-type

This commit is contained in:
Andrei Alexeyev 2021-07-18 11:19:17 +03:00
parent 16d00b5672
commit edac2dfe57
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -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) { }