summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@hotmail.com>2020-02-21 00:58:47 +0800
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-02-22 12:59:13 +0000
commitb7af4205aa26a1486dd64f39812ae1ad2dd72d63 (patch)
treed5258ad55f65af6271f8f5cdf1ea527b990b0a1a /tests
parent7e7ab6e1f88369074be91e450cb76de5334bda6c (diff)
test: avoid unused warning for test-display
meson -Dwith_x11=yes -Dwith_wayland=no -Dwith_drm=no -Dwith_egl=no -Dwith_glx=no buildir generate unused warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/internal/test-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/internal/test-display.c b/tests/internal/test-display.c
index 068c155a..e9ec1260 100644
--- a/tests/internal/test-display.c
+++ b/tests/internal/test-display.c
@@ -205,7 +205,7 @@ int
main (int argc, char *argv[])
{
GstVaapiDisplay *display;
-#if USE_X11 || USE_WAYLAND
+#if USE_GLX || USE_WAYLAND
guint width, height;
guint par_n, par_d;
#endif