diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-09-29 12:15:36 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-29 10:17:47 -0700 |
commit | 15aece8a30dcc1f1f97e28180edda46d05641a2d (patch) | |
tree | 51284a75c6aa16614192988641ce71f59c794dd8 /include/mbgl/platform | |
parent | d1a84d9b51a7145f9f7665805cf71050aac7bc63 (diff) | |
download | qtlocation-mapboxgl-15aece8a30dcc1f1f97e28180edda46d05641a2d.tar.gz |
[core] introduces types for GL objects
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r-- | include/mbgl/platform/default/headless_view.hpp | 7 |
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 |