From bcdc5c98b356d926939b226a3962d97763295d3b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 18 Dec 2021 19:28:54 +0000 Subject: Window handles UIComponent rendering --- ui/gameMainWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui/gameMainWindow.cpp') 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::render, shader); - glDisable(GL_DEPTH_TEST); - // do ui bits + Window::render(gameState); } -- cgit v1.2.3