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:
486708b
)
Don't call GLX functions when compiling the EGL retracer.
author
Alexandros Frantzis
<alexandros.frantzis@linaro.org>
Thu, 1 Dec 2011 13:59:23 +0000
(15:59 +0200)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Thu, 1 Dec 2011 19:54:56 +0000
(19:54 +0000)
This is a temporary fix, until we implement a dedicated EGL-based,
GL/GLES1/GLES2 state dumping mechanism.
glstate.cpp
patch
|
blob
|
history
diff --git
a/glstate.cpp
b/glstate.cpp
index
6b9c072
..
329276f
100644
(file)
--- a/
glstate.cpp
+++ b/
glstate.cpp
@@
-738,6
+738,7
@@
getDrawableBounds(GLint *width, GLint *height) {
#else
+#if !TRACE_EGL
Display *display;
Drawable drawable;
Window root;
@@
-760,6
+761,9
@@
getDrawableBounds(GLint *width, GLint *height) {
*width = w;
*height = h;
+#else
+ return false;
+#endif
#endif