From: José Fonseca Date: Thu, 5 May 2011 00:13:04 +0000 (+0100) Subject: Don't checkt GL error on memcpy. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b8c5607bc92366a448956845707f3de3a7e3c08c;p=apitrace Don't checkt GL error on memcpy. --- diff --git a/glretrace.py b/glretrace.py index 2cb17cd..ae9ca61 100644 --- a/glretrace.py +++ b/glretrace.py @@ -149,7 +149,7 @@ class GlRetracer(Retracer): if function.name == "glBegin": print ' glretrace::insideGlBeginEnd = true;' - else: + elif function.name.startswith('gl'): # glGetError is not allowed inside glBegin/glEnd print ' glretrace::checkGlError(call.no);'