[core] introduces types for GL objects

This commit is contained in:
Konstantin Käfer
2016-09-29 12:15:36 +02:00
committed by John Firebaugh
parent d1a84d9b51
commit 15aece8a30
15 changed files with 101 additions and 60 deletions

View File

@@ -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