diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-07-17 20:32:12 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-07-17 20:32:12 +0100 |
commit | 31215645c296ba7a62bcb3176f69e0014ab9be07 (patch) | |
tree | 56ba09214a4b6c699d22263f1e021c4542854e6a /dispatch | |
parent | 85d3e1f5540f91f6ac54396138db23a541d67d1a (diff) |
gltrace: Fix glGetDebugMessageLog fallback.
Diffstat (limited to 'dispatch')
-rw-r--r-- | dispatch/glproc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dispatch/glproc.py b/dispatch/glproc.py index 2a0f7d75..4ae97223 100644 --- a/dispatch/glproc.py +++ b/dispatch/glproc.py @@ -525,6 +525,7 @@ void * _getPrivateProcAddress(const char *procName); print r' if (severities != 0) *severities = 0;' print r' if (lengths != 0) *lengths = 0;' print r' if (messageLog != 0 && bufsize > 0) *messageLog = 0;' + print r' return 0;' return if function.name in ('glGetDebugMessageLogAMD'): print r' if (categories != 0) *categories = 0;' @@ -532,6 +533,7 @@ void * _getPrivateProcAddress(const char *procName); print r' if (severities != 0) *severities = 0;' print r' if (lengths != 0) *lengths = 0;' print r' if (message != 0 && bufsize > 0) *message = 0;' + print r' return 0;' return Dispatcher.failFunction(self, function) |