summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-02 18:19:44 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-02 19:29:39 +0100
commit2ef7272e6817cf61828a9d80ca239092573505c7 (patch)
tree08833106b9b2e0e75846aef742a600db681187b3 /ui/gameMainWindow.cpp
parentRemove redundant null check (diff)
downloadilt-2ef7272e6817cf61828a9d80ca239092573505c7.tar.bz2
ilt-2ef7272e6817cf61828a9d80ca239092573505c7.tar.xz
ilt-2ef7272e6817cf61828a9d80ca239092573505c7.zip
Make Window shader available to clients
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r--ui/gameMainWindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index 3617ca8..c84781c 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -71,3 +71,9 @@ GameMainWindow::render() const
gameState->world.apply<Renderable>(&Renderable::render, shader);
Window::render();
}
+
+const Shader &
+GameMainWindow::getShader() const
+{
+ return shader;
+}