Compare commits
2 Commits
9ddc5c4a66
...
785b507330
Author | SHA1 | Date | |
---|---|---|---|
|
785b507330 | ||
|
d884a9026f |
@ -229,7 +229,8 @@ function(give_options target)
|
||||
-Wno-declaration-after-statement
|
||||
-Wno-unsafe-buffer-usage
|
||||
-Wno-unused-command-line-argument
|
||||
-Wno-covered-switch-default)
|
||||
-Wno-covered-switch-default
|
||||
-Wno-disabled-macro-expansion)
|
||||
|
||||
set(WARNING_FLAGS
|
||||
-Wall
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
|
||||
static timer_t timerid;
|
||||
static sigset_t mask;
|
||||
static struct sigaction sa;
|
||||
static struct sigevent sev;
|
||||
|
||||
|
@ -217,6 +217,7 @@ void input_state_deinit(InputState *input) {
|
||||
|
||||
|
||||
void input_state_update_postframe(InputState *input) {
|
||||
(void)input;
|
||||
/* TODO: don't spam it if it happens */
|
||||
if (SDL_SetRelativeMouseMode(ctx.game_copy.mouse_capture && ctx.window_mouse_resident) != 0)
|
||||
log_warn("(%s) Mouse capture isn't supported.", __func__);
|
||||
|
Loading…
Reference in New Issue
Block a user