aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/RenderSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r--src/crepe/system/RenderSystem.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h
index 7661cbd..1176b06 100644
--- a/src/crepe/system/RenderSystem.h
+++ b/src/crepe/system/RenderSystem.h
@@ -1,12 +1,14 @@
#pragma once
-#include "api/Camera.h"
-#include "System.h"
-#include "api/Sprite.h"
#include <functional>
#include <vector>
+#include "api/Sprite.h"
+#include "api/Camera.h"
+
+#include "System.h"
+
namespace crepe {
/**
@@ -54,7 +56,7 @@ private:
private:
//! Pointer to the current active camera for rendering
- Camera * curr_cam = nullptr;
+ Camera * curr_cam_ref = nullptr;
// TODO: needs a better solution
};