diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2011-12-01 21:37:21 +0000 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2011-12-01 21:37:21 +0000 |
commit | 44296d26d3200c2114cf897479580b6c9d238b25 (patch) | |
tree | 9ac34b235218d858028bb4272682fff0c5bd1c51 /glproc_gl.cpp | |
parent | 06628e7a907254d529a2fb50efdbb07e450e1a77 (diff) |
Fix glretrace on MacOSX.
Diffstat (limited to 'glproc_gl.cpp')
-rw-r--r-- | glproc_gl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glproc_gl.cpp b/glproc_gl.cpp index 18314dcb..d9fb469e 100644 --- a/glproc_gl.cpp +++ b/glproc_gl.cpp @@ -119,11 +119,13 @@ void * __libgl_sym(const char *symbol) result = dlsym(__libGlHandle, symbol); +#ifndef RETRACE if (result == dlsym(RTLD_SELF, symbol)) { os::log("apitrace: error: symbol lookup recursion\n"); os::abort(); return NULL; } +#endif return result; } |