summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2013-02-06 11:28:59 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-05-28 16:46:49 +0800
commit8ab3bae1d10f205bf7ca5377cc9df30ab5cfc829 (patch)
treef6d3c89f771356ac92b5440b8b45bc77f54dd5de /test
parentacfb4ee6a2b3b6ae5b87d5a487fbdf478bdb4480 (diff)
downloadlibva-8ab3bae1d10f205bf7ca5377cc9df30ab5cfc829.tar.gz
test/putsurface_x11.c: don't hard code the DISPLAY to ":0.0"
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/putsurface/putsurface_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/putsurface/putsurface_x11.c b/test/putsurface/putsurface_x11.c
index a89d914..db765af 100644
--- a/test/putsurface/putsurface_x11.c
+++ b/test/putsurface/putsurface_x11.c
@@ -41,7 +41,7 @@ static int check_window_event(void *x11_display, void *drawable, int *width, int
static void *open_display(void)
{
- return XOpenDisplay(":0.0");
+ return XOpenDisplay(NULL);
}
static void close_display(void *win_display)