]> git.tdb.fi Git - libs/gl.git/commit
Enable vsync in the OpenGL backend
authorMikko Rasa <tdb@tdb.fi>
Sat, 9 Sep 2023 14:12:34 +0000 (17:12 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 9 Sep 2023 14:12:34 +0000 (17:12 +0300)
commit33779fe5e073f094e4ce8f4124c7a6e0fb1a7890
tree55b6ff8be15b3249af88c542d03ab5cc857c347b
parent92fc27fd2351cc7858d9b126ca9b593d173db532
Enable vsync in the OpenGL backend

Since there's multiple backends now, applications should not touch the
context directly.  The Vulkan backend already uses vsync.  I may make it
an option on the Device in the future.
source/backends/opengl/device_backend.cpp