]> git.cworth.org Git - apitrace/blobdiff - glxtrace.py
Don't overflow the max index when the app isn't rendering anything.
[apitrace] / glxtrace.py
index 78d6146e8dadf91b5e3629f5777f38bac83f297e..c6e88cde1b73115a280390183a09772372e5f5b5 100644 (file)
@@ -45,6 +45,8 @@ class GlxTracer(GlTracer):
         return '__%s' % (function.name,)
 
     def wrap_ret(self, function, instance):
+        GlTracer.wrap_ret(self, function, instance)
+
         if function.name in ("glXGetProcAddress", "glXGetProcAddressARB"):
             print '    %s = __unwrap_proc_addr(procName, %s);' % (instance, instance)