summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/main-impl.hpp')
-rw-r--r--main/main-impl.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/main-impl.hpp b/main/main-impl.hpp
index cc17f9bc..85c61951 100644
--- a/main/main-impl.hpp
+++ b/main/main-impl.hpp
@@ -12,6 +12,8 @@
#include <Magnum/Timeline.h>
#include <Magnum/Math/Range.h>
#include <Magnum/GL/DebugOutput.h>
+#include <Magnum/GL/Framebuffer.h>
+#include <Magnum/GL/Renderbuffer.h>
#include <Magnum/Platform/Sdl2Application.h>
namespace floormat {
@@ -76,6 +78,11 @@ private:
tile_shader _shader;
std::vector<clickable<anim_atlas, scenery>> _clickable_scenery;
struct world _world{};
+
+ struct {
+ GL::Framebuffer fb{NoCreate};
+ GL::Renderbuffer color{NoCreate}, depth{NoCreate};
+ } _screen;
Magnum::Timeline timeline;
floor_mesh _floor_mesh;
wall_mesh _wall_mesh;