From ce3f3810a781d89d77610482c384e2b3b09e9492 Mon Sep 17 00:00:00 2001 From: Reuben Dunnington Date: Thu, 24 Aug 2023 15:34:31 -0700 Subject: [PATCH] win32: initialize clock in oc_init() --- src/app/win32_app.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/win32_app.c b/src/app/win32_app.c index 9492784..d487ee6 100644 --- a/src/app/win32_app.c +++ b/src/app/win32_app.c @@ -151,6 +151,8 @@ void oc_init() { memset(&oc_appData, 0, sizeof(oc_appData)); + oc_clock_init(); + oc_init_common(); oc_init_keys(); @@ -1252,7 +1254,7 @@ void oc_surface_init_for_window(oc_surface_data* surface, oc_window_data* window oc_log_error("couldn't enable blur behind\n"); } - //NOTE(reuben): Creating the child window takes focus away from the main window, but we want to keep + //NOTE(reuben): Creating the child window takes focus away from the main window, but we want to keep //the focus on the main window SetFocus(window->win32.hWnd);