diff options
Diffstat (limited to 'src/window_glfw.c')
| -rw-r--r-- | src/window_glfw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window_glfw.c b/src/window_glfw.c index 0f55bc3..32e0cfb 100644 --- a/src/window_glfw.c +++ b/src/window_glfw.c @@ -404,12 +404,11 @@ static void window_glfw_set_decorations(struct stl_window *window, bool enabled) #ifdef STELA_EVENT_BUFFER #error "window_glfw_poll() is incompatible with event buffer mode." #endif -static bool window_glfw_poll(struct stl_window *window, bool block) +static void window_glfw_poll(struct stl_window *window, bool block) { (void)window; if (block) glfwWaitEvents(); else glfwPollEvents(); - return true; } #ifdef STELA_PAUSE |