This commit is contained in:
Kovid Goyal 2023-02-01 12:17:15 +05:30
parent 5eaa935ede
commit c201bac900
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -179,7 +179,7 @@ log_event(const char *format, ...) {
// callbacks {{{
void
update_os_window_references() {
update_os_window_references(void) {
for (size_t i = 0; i < global_state.num_os_windows; i++) {
OSWindow *w = global_state.os_windows + i;
if (w->handle) glfwSetWindowUserPointer(w->handle, w);
@ -1433,7 +1433,7 @@ swap_window_buffers(OSWindow *os_window) {
}
void
wakeup_main_loop() {
wakeup_main_loop(void) {
glfwPostEmptyEvent();
}