summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-12-18 19:28:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-12-18 19:28:54 +0000
commitbcdc5c98b356d926939b226a3962d97763295d3b (patch)
treeb56079b97c51e2d457dc68ba3f7ce1cfa867c5d9 /ui/gameMainWindow.cpp
parentNeed a way to select the UI shader (diff)
downloadilt-bcdc5c98b356d926939b226a3962d97763295d3b.tar.bz2
ilt-bcdc5c98b356d926939b226a3962d97763295d3b.tar.xz
ilt-bcdc5c98b356d926939b226a3962d97763295d3b.zip
Window handles UIComponent rendering
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r--ui/gameMainWindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index b41fc56..cd9d3e4 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -34,6 +34,5 @@ GameMainWindow::render(const GameState * gameState) const
{
glEnable(GL_DEPTH_TEST);
gameState->world.apply<Renderable>(&Renderable::render, shader);
- glDisable(GL_DEPTH_TEST);
- // do ui bits
+ Window::render(gameState);
}