Compare commits

..

No commits in common. "785b507330097d20422ecb6c3da41ca3bb94fd73" and "9ddc5c4a6690094c4886197e624101f6a7fe13c1" have entirely different histories.

3 changed files with 2 additions and 3 deletions

View File

@ -229,8 +229,7 @@ function(give_options target)
-Wno-declaration-after-statement -Wno-declaration-after-statement
-Wno-unsafe-buffer-usage -Wno-unsafe-buffer-usage
-Wno-unused-command-line-argument -Wno-unused-command-line-argument
-Wno-covered-switch-default -Wno-covered-switch-default)
-Wno-disabled-macro-expansion)
set(WARNING_FLAGS set(WARNING_FLAGS
-Wall -Wall

View File

@ -11,6 +11,7 @@
static timer_t timerid; static timer_t timerid;
static sigset_t mask;
static struct sigaction sa; static struct sigaction sa;
static struct sigevent sev; static struct sigevent sev;

View File

@ -217,7 +217,6 @@ void input_state_deinit(InputState *input) {
void input_state_update_postframe(InputState *input) { void input_state_update_postframe(InputState *input) {
(void)input;
/* TODO: don't spam it if it happens */ /* TODO: don't spam it if it happens */
if (SDL_SetRelativeMouseMode(ctx.game_copy.mouse_capture && ctx.window_mouse_resident) != 0) if (SDL_SetRelativeMouseMode(ctx.game_copy.mouse_capture && ctx.window_mouse_resident) != 0)
log_warn("(%s) Mouse capture isn't supported.", __func__); log_warn("(%s) Mouse capture isn't supported.", __func__);