From c53a9fd00d4c0584eaf6c20157f1599bda21acd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 14 Aug 2015 17:59:56 +0300 Subject: [PATCH] fix debugging names on iOS --- src/mbgl/gl/debugging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/gl/debugging.cpp b/src/mbgl/gl/debugging.cpp index 31e4016db..006112704 100644 --- a/src/mbgl/gl/debugging.cpp +++ b/src/mbgl/gl/debugging.cpp @@ -173,7 +173,7 @@ group::group(const std::string& str) { if (PushDebugGroup) { PushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, GLsizei(str.size()), str.c_str()); } else if (PushGroupMarkerEXT) { - PushGroupMarkerEXT(GLsizei(str.size()), str.c_str()); + PushGroupMarkerEXT(GLsizei(str.size() + 1), str.c_str()); } }