a few notes and cleanup from previous merge

This commit is contained in:
Noel Berry
2021-01-05 20:44:02 -08:00
parent 66e8b34d37
commit 3fa9f99791
2 changed files with 71 additions and 69 deletions

View File

@ -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