From 2225397d1cf5e4f4a1293495f3a26bd33e5d7ac3 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 21 Apr 2011 09:39:25 +0200 Subject: egl/wayland: Fix prefixes for interface names --- src/egl/drivers/dri2/platform_wayland.c | 4 ++-- src/egl/wayland/wayland-drm/protocol/wayland-drm.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 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); diff --git a/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml b/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml index 46725d85179..cd5d191227a 100644 --- a/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml +++ b/src/egl/wayland/wayland-drm/protocol/wayland-drm.xml @@ -2,7 +2,7 @@ - + - + - +