diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-08 16:42:01 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-08 16:42:01 +0000 |
commit | 9d732d7c92c14300d100303d84af9a25b84e79d0 (patch) | |
tree | c95ef15ce48f96ec11beaca1b088e469e99f1062 | |
parent | 3383a82eef11efe81f5318fe7da044918315cadb (diff) |
demo: Move xlib over xcb in default backend priority
-rw-r--r-- | demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -155,10 +155,10 @@ struct device *device_open(int argc, char **argv) if (backend == AUTO) { if (device == 0 && HAVE_DRM) device = drm_open (argc, argv); - if (device == 0 && HAVE_XCB) - device = xcb_open (argc, argv); if (device == 0 && HAVE_XLIB) device = xlib_open (argc, argv); + if (device == 0 && HAVE_XCB) + device = xcb_open (argc, argv); if (device == 0 && HAVE_GLX) device = glx_open (argc, argv); if (device == 0 && HAVE_COGL) |