Compare commits
1 Commits
main
...
disable-wi
Author | SHA1 | Date |
---|---|---|
Reuben Dunnington | 24ab630266 |
|
@ -232,7 +232,7 @@ i32 orca_surface_callback(void* user)
|
|||
#if OC_PLATFORM_WINDOWS
|
||||
//NOTE(martin): on windows we set all surfaces to non-synced, and do a single "manual" wait here.
|
||||
// on macOS each surface is individually synced to the monitor refresh rate but don't block each other
|
||||
oc_surface_swap_interval(data->surface, 0);
|
||||
// oc_surface_swap_interval(data->surface, 0);
|
||||
#endif
|
||||
|
||||
//NOTE: this will be called on main thread, so we need to deselect the surface here,
|
||||
|
@ -896,7 +896,7 @@ i32 orca_runloop(void* user)
|
|||
#if OC_PLATFORM_WINDOWS
|
||||
//NOTE(martin): on windows we set all surfaces to non-synced, and do a single "manual" wait here.
|
||||
// on macOS each surface is individually synced to the monitor refresh rate but don't block each other
|
||||
oc_vsync_wait(app->window);
|
||||
// oc_vsync_wait(app->window);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue