diff options
Diffstat (limited to 'include/mbgl/platform/gl.hpp')
-rw-r--r-- | include/mbgl/platform/gl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/platform/gl.hpp b/include/mbgl/platform/gl.hpp index a63dd9b1fb..d16478dab9 100644 --- a/include/mbgl/platform/gl.hpp +++ b/include/mbgl/platform/gl.hpp @@ -134,9 +134,9 @@ extern PFNGLISVERTEXARRAYPROC IsVertexArray; // static int indent = 0; inline void start_group(const std::string &str) { if (gl::PushDebugGroup != nullptr) { - gl::PushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, str.size(), str.c_str()); + gl::PushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, GLsizei(str.size()), str.c_str()); } else if (gl::PushGroupMarkerEXT != nullptr) { - gl::PushGroupMarkerEXT(str.size(), str.c_str()); + gl::PushGroupMarkerEXT(GLsizei(str.size()), str.c_str()); } // fprintf(stderr, "%s%s\n", std::string(indent * 4, ' ').c_str(), str.c_str()); // indent++; |