diff options
Diffstat (limited to 'src/window_win32.c')
| -rw-r--r-- | src/window_win32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window_win32.c b/src/window_win32.c index 5426f90..3d5d2e8 100644 --- a/src/window_win32.c +++ b/src/window_win32.c @@ -1283,7 +1283,7 @@ static void win32_handle_message(struct stl_window_win32 *w32, MSG *Message) #ifdef STELA_EVENT_BUFFER #error "window_win32_poll() is incompatible with event buffer mode." #endif -static bool window_win32_poll(struct stl_window *window, bool block) +static void window_win32_poll(struct stl_window *window, bool block) { struct stl_window_win32 *w32 = (struct stl_window_win32 *)window; if (block) { @@ -1291,7 +1291,6 @@ static bool window_win32_poll(struct stl_window *window, bool block) GetMessageW(&Message, 0, 0, 0); win32_handle_message(w32, &Message); } - return true; } #ifdef STELA_PAUSE |