summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-04-21 09:39:25 +0200
committerKristian Høgsberg <[email protected]>2011-04-22 08:56:27 -0400
commit2225397d1cf5e4f4a1293495f3a26bd33e5d7ac3 (patch)
tree904068be0849f3257c740236f12a6a3572f23621 /src/egl/drivers/dri2
parent1faf079a692bbf4b24c8e83fa2b331c1e3b58e13 (diff)
egl/wayland: Fix prefixes for interface names
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index 62b2eabec42..c3dee7ff0f7 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -667,10 +667,10 @@ dri2_initialize_wayland(_EGLDriver *drv, _EGLDisplay *disp)
disp->DriverData = (void *) dri2_dpy;
dri2_dpy->wl_dpy = disp->PlatformDisplay;
- id = wl_display_get_global(dri2_dpy->wl_dpy, "drm", 1);
+ id = wl_display_get_global(dri2_dpy->wl_dpy, "wl_drm", 1);
if (id == 0)
wl_display_iterate(dri2_dpy->wl_dpy, WL_DISPLAY_READABLE);
- id = wl_display_get_global(dri2_dpy->wl_dpy, "drm", 1);
+ id = wl_display_get_global(dri2_dpy->wl_dpy, "wl_drm", 1);
if (id == 0)
goto cleanup_dpy;
dri2_dpy->wl_drm = wl_drm_create(dri2_dpy->wl_dpy, id, 1);