summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-27 13:09:34 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-27 13:09:34 +0000
commitf43b88dfe55d107541562da04117e2929a89d3f2 (patch)
tree4d1ff7181d21a72f11aa90d5a4225bbce0561bb7 /ui
parent SceneRenderer is a graphics component, not a UI one (diff)
downloadilt-f43b88dfe55d107541562da04117e2929a89d3f2.tar.bz2
ilt-f43b88dfe55d107541562da04117e2929a89d3f2.tar.xz
ilt-f43b88dfe55d107541562da04117e2929a89d3f2.zip
Split SceneProvider out
Diffstat (limited to 'ui')
-rw-r--r--ui/gameMainWindow.cpp2
-rw-r--r--ui/gameMainWindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index 99bee48..7a47a25 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -58,7 +58,7 @@ void
GameMainWindow::environment(const SceneShader & s, const SceneRenderer & r) const
{
// default for now
- SceneRenderer::SceneProvider::environment(s, r);
+ SceneProvider::environment(s, r);
}
void
GameMainWindow::lights(const SceneShader & shader) const
diff --git a/ui/gameMainWindow.h b/ui/gameMainWindow.h
index 03364f2..f3fc21f 100644
--- a/ui/gameMainWindow.h
+++ b/ui/gameMainWindow.h
@@ -5,7 +5,7 @@
#include "window.h"
#include <cstddef>
-class GameMainWindow : public Window, SceneRenderer, public SceneRenderer::SceneProvider {
+class GameMainWindow : public Window, SceneRenderer, public SceneProvider {
public:
GameMainWindow(size_t w, size_t h);