summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glstate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/glstate.cpp b/glstate.cpp
index 6b9c072..329276f 100644
--- 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