summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RendererWorld.hpp')
-rw-r--r--src/RendererWorld.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp
index 11a659b..a961a84 100644
--- a/src/RendererWorld.hpp
+++ b/src/RendererWorld.hpp
@@ -16,6 +16,7 @@ class Texture;
class Shader;
class EventListener;
class RenderState;
+class RendererSectionData;
class RendererWorld {
//General
@@ -30,7 +31,7 @@ class RendererWorld {
std::map<Vector, bool> isParsing;
//Blocks
std::mutex renderDataMutex;
- std::queue<RendererSectionData> renderData;
+ std::queue<std::unique_ptr<RendererSectionData>> renderData;
std::vector<Vector> renderList;
std::mutex sectionsMutex;
std::map<Vector, RendererSection> sections;