summaryrefslogtreecommitdiff
path: root/tests/util/piglit-glx-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util/piglit-glx-util.c')
-rw-r--r--tests/util/piglit-glx-util.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/util/piglit-glx-util.c b/tests/util/piglit-glx-util.c
index df54c503..069ea72d 100644
--- a/tests/util/piglit-glx-util.c
+++ b/tests/util/piglit-glx-util.c
@@ -34,6 +34,11 @@
int piglit_automatic;
+#ifndef _WIN32
+__attribute__((weak)) int piglit_width = 100;
+__attribute__((weak)) int piglit_height = 100;
+#endif
+
Display *
piglit_get_glx_display()
{