fix debugging names on iOS

This commit is contained in:
Konstantin Käfer
2015-08-14 17:59:56 +03:00
parent bb0ae37c25
commit c53a9fd00d

View File

@@ -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());
}
}