mirror of
https://github.com/NoelFB/blah.git
synced 2025-07-01 19:45:26 +08:00
a few notes and cleanup from previous merge
This commit is contained in:
@ -147,6 +147,8 @@ void PlatformBackend::ready()
|
||||
{
|
||||
#ifndef __EMSCRIPTEN__
|
||||
// enable V-Sync
|
||||
// TODO:
|
||||
// This should be a toggle or controllable in some way
|
||||
if (App::renderer() == Renderer::OpenGL)
|
||||
SDL_GL_SetSwapInterval(1);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user