win32: initialize clock in oc_init() #67
			
				
			
		
		
		
	|  | @ -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); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue