summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/framebuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/framebuffer.hpp')
-rw-r--r--src/mbgl/gl/framebuffer.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mbgl/gl/framebuffer.hpp b/src/mbgl/gl/framebuffer.hpp
new file mode 100644
index 0000000000..880fed159e
--- /dev/null
+++ b/src/mbgl/gl/framebuffer.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <mbgl/gl/object.hpp>
+
+#include <array>
+
+namespace mbgl {
+namespace gl {
+
+class Framebuffer {
+public:
+ std::array<uint16_t, 2> size;
+ gl::UniqueFramebuffer framebuffer;
+};
+
+} // namespace gl
+} // namespace mbgl