diff options
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r-- | ui/gameMainWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index 4421098..7d5e19b 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -33,9 +33,8 @@ GameMainWindow::tick(TickDuration) } void -GameMainWindow::Refresh(const GameState * gameState) const +GameMainWindow::render(const GameState * gameState) const { - SDL_GL_MakeCurrent(m_window, m_glContext); glEnable(GL_DEPTH_TEST); gameState->world.apply<Renderable>(&Renderable::render, shader); glDisable(GL_DEPTH_TEST); |