summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-27 12:51:11 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-27 12:51:11 +0000
commit69d95f35512772fb42e04808cffabcdc82afed96 (patch)
treed3059c89e3b2372e929932bd22dc0e7e42252e23
parentChange pointlight render area definition to a cube (diff)
downloadilt-69d95f35512772fb42e04808cffabcdc82afed96.tar.bz2
ilt-69d95f35512772fb42e04808cffabcdc82afed96.tar.xz
ilt-69d95f35512772fb42e04808cffabcdc82afed96.zip
SceneRenderer is a graphics component, not a UI one
-rw-r--r--gfx/gl/sceneRenderer.cpp (renamed from ui/sceneRenderer.cpp)0
-rw-r--r--gfx/gl/sceneRenderer.h (renamed from ui/sceneRenderer.h)0
-rw-r--r--test/test-glContextBhvr.cpp2
-rw-r--r--test/test-render.cpp2
-rw-r--r--ui/gameMainWindow.h2
5 files changed, 3 insertions, 3 deletions
diff --git a/ui/sceneRenderer.cpp b/gfx/gl/sceneRenderer.cpp
index a97387e..a97387e 100644
--- a/ui/sceneRenderer.cpp
+++ b/gfx/gl/sceneRenderer.cpp
diff --git a/ui/sceneRenderer.h b/gfx/gl/sceneRenderer.h
index f40b894..f40b894 100644
--- a/ui/sceneRenderer.h
+++ b/gfx/gl/sceneRenderer.h
diff --git a/test/test-glContextBhvr.cpp b/test/test-glContextBhvr.cpp
index 0ee45d6..b37a072 100644
--- a/test/test-glContextBhvr.cpp
+++ b/test/test-glContextBhvr.cpp
@@ -3,9 +3,9 @@
#include "test-helpers.hpp"
#include <boost/test/unit_test.hpp>
+#include <gfx/gl/sceneRenderer.h>
#include <lib/glArrays.h>
#include <ui/applicationBase.h>
-#include <ui/sceneRenderer.h>
#include <ui/window.h>
BOOST_GLOBAL_FIXTURE(ApplicationBase);
diff --git a/test/test-render.cpp b/test/test-render.cpp
index 089665f..9e3ffa0 100644
--- a/test/test-render.cpp
+++ b/test/test-render.cpp
@@ -6,11 +6,11 @@
#include <game/geoData.h>
#include <game/terrain.h>
+#include <gfx/gl/sceneRenderer.h>
#include <gfx/models/texture.h>
#include <lib/glArrays.h>
#include <maths.h>
#include <ui/applicationBase.h>
-#include <ui/sceneRenderer.h>
#include <ui/window.h>
class TestRenderOutput {
diff --git a/ui/gameMainWindow.h b/ui/gameMainWindow.h
index fbba0cd..03364f2 100644
--- a/ui/gameMainWindow.h
+++ b/ui/gameMainWindow.h
@@ -1,7 +1,7 @@
#pragma once
#include "chronology.hpp"
-#include "sceneRenderer.h"
+#include "gfx/gl/sceneRenderer.h"
#include "window.h"
#include <cstddef>