Permalink
Browse files

gltrace: Fake GL_EXT_debug_marker/label too.

  • Loading branch information...
1 parent fd67604 commit 7ff82416a09d19922c18d211b0223399db1aeda3 @jrfonseca jrfonseca committed Feb 4, 2014
Showing with 4 additions and 1 deletion.
  1. +1 −1 dispatch/glproc.py
  2. +3 −0 wrappers/glcaps.cpp
View
@@ -508,7 +508,7 @@ def isFunctionPublic(self, module, function):
def failFunction(self, function):
# We fake this when they are not available
- if function.name in ('glGetObjectLabel', 'glGetObjectPtrLabel'):
+ if function.name in ('glGetObjectLabel', 'glGetObjectPtrLabel', 'glGetObjectLabelEXT'):
print r' if (length != 0) *length = 0;'
print r' if (label != 0 && bufSize > 0) *label = 0;'
return
View
@@ -60,11 +60,14 @@ extraExtension_stringsFull[] = {
"GL_ARB_debug_output",
"GL_AMD_debug_output",
"GL_KHR_debug",
+ "GL_EXT_debug_marker",
+ "GL_EXT_debug_label",
};
static const char *
extraExtension_stringsES[] = {
"GL_EXT_debug_marker",
+ "GL_EXT_debug_label",
};
// Description of additional extensions we want to advertise

0 comments on commit 7ff8241

Please sign in to comment.