]> git.cworth.org Git - apitrace/blobdiff - glstate.cpp
Add a few more comments.
[apitrace] / glstate.cpp
index 6b9c0723d0dcc8b2a18044bf6c071b9a805dd67a..329276ffdf0b38e9ba8e91fcb9a36241b80c91c8 100644 (file)
@@ -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