summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RendererWorld.hpp')
-rw-r--r--src/RendererWorld.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp
index b020006..e7bd512 100644
--- a/src/RendererWorld.hpp
+++ b/src/RendererWorld.hpp
@@ -12,7 +12,7 @@ class Frustum;
class RendererWorld {
//General
- std::shared_ptr<GameState> gs;
+ GameState *gs;
EventListener listener;
size_t numOfWorkers;
size_t currentWorker = 0;
@@ -38,7 +38,7 @@ class RendererWorld {
Shader *skyShader;
RendererSky rendererSky;
public:
- RendererWorld(std::shared_ptr<GameState> ptr);
+ RendererWorld(GameState* ptr);
~RendererWorld();
void Render(RenderState& renderState);