diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-03-15 14:10:25 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-03-20 15:40:47 +0100 |
commit | 9ee1de575af4ef332ad8812c11d9d63edc94d76e (patch) | |
tree | 9d66b990fdf026e0be4431b15fad4e79958e1cba /src/mbgl/gl/context.cpp | |
parent | 52cf9a1af385113cee523ce826d7c86c8739e0a2 (diff) | |
download | qtlocation-mapboxgl-9ee1de575af4ef332ad8812c11d9d63edc94d76e.tar.gz |
[core] expose vertex binding count in gfx::Context
Diffstat (limited to 'src/mbgl/gl/context.cpp')
-rw-r--r-- | src/mbgl/gl/context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp index 5193381251..1f780331c2 100644 --- a/src/mbgl/gl/context.cpp +++ b/src/mbgl/gl/context.cpp @@ -67,7 +67,7 @@ static_assert(underlying_type(UniformDataType::SamplerCube) == GL_SAMPLER_CUBE, static_assert(std::is_same<BinaryProgramFormat, GLenum>::value, "OpenGL type mismatch"); Context::Context() - : gfx::Context(gfx::ContextType::OpenGL), maximumVertexBindingCount([] { + : gfx::Context(gfx::ContextType::OpenGL, [] { GLint value; MBGL_CHECK_ERROR(glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &value)); return value; |