mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 12:19:18 +02:00
Merge branch 'milek-dev' into gfx-work
This commit is contained in:
@@ -364,6 +364,8 @@ void opengl_renderer::SwapBuffers()
|
||||
{
|
||||
Timer::subsystem.gfx_swap.start();
|
||||
glfwSwapBuffers(m_window);
|
||||
// swapbuffers() will unbind current buffers so we prepare for it on our end
|
||||
gfx::opengl_vbogeometrybank::reset();
|
||||
Timer::subsystem.gfx_swap.stop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user