projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0f0d8
)
Intercept dlopen("libGL.so") too
author
José Fonseca
<jose.r.fonseca@gmail.com>
Sun, 17 Apr 2011 21:30:26 +0000
(22:30 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Mon, 18 Apr 2011 08:35:54 +0000
(09:35 +0100)
glxtrace.py
patch
|
blob
|
history
diff --git
a/glxtrace.py
b/glxtrace.py
index
050a082
..
a5317a4
100644
(file)
--- a/
glxtrace.py
+++ b/
glxtrace.py
@@
-114,7
+114,8
@@
void *dlopen(const char *filename, int flag)
}
// FIXME: handle absolute paths and other versions
- if (strcmp(filename, "libGL.so.1") == 0) {
+ if (strcmp(filename, "libGL.so") == 0 ||
+ strcmp(filename, "libGL.so.1") == 0) {
// Use the true libGL.so handle instead of RTLD_NEXT from now on
libgl_handle = handle;