summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp
index c0ffd27fbf..baa6a0382c 100644
--- a/include/mbgl/platform/default/headless_view.hpp
+++ b/include/mbgl/platform/default/headless_view.hpp
@@ -22,6 +22,7 @@ typedef XID GLXPbuffer;
#include <mbgl/mbgl.hpp>
#include <mbgl/gl/gl.hpp>
+#include <mbgl/gl/types.hpp>
#include <memory>
#include <thread>
@@ -89,9 +90,9 @@ private:
std::function<void(MapChange)> mapChangeCallback;
- GLuint fbo = 0;
- GLuint fboDepthStencil = 0;
- GLuint fboColor = 0;
+ gl::FramebufferID fbo = 0;
+ gl::RenderbufferID fboDepthStencil = 0;
+ gl::RenderbufferID fboColor = 0;
};
} // namespace mbgl