summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-08-14 17:59:56 +0300
committerKonstantin Käfer <mail@kkaefer.com>2015-08-19 18:21:12 -0400
commitc53a9fd00d4c0584eaf6c20157f1599bda21acd8 (patch)
treec2456dad56c70720f5564ad048ee1786ac4743df
parentbb0ae37c25b0fffaa324cc25bbec59001487eac9 (diff)
downloadqtlocation-mapboxgl-c53a9fd00d4c0584eaf6c20157f1599bda21acd8.tar.gz
fix debugging names on iOS
-rw-r--r--src/mbgl/gl/debugging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/debugging.cpp b/src/mbgl/gl/debugging.cpp
index 31e4016dbc..0061127048 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());
}
}