nobled | 1 Jul 2012 20:12
Favicon

[PATCH] egl: fix copy/pasted misnomer

This is a long-standing typo that propagated
from the wayland code, confusing drm_magic_t and
wayland object IDs.
---
 src/egl/drivers/dri2/egl_dri2.h                    |    2 +-
 src/egl/drivers/dri2/platform_drm.c                |    4 ++--
 src/egl/drivers/dri2/platform_wayland.c            |    4 ++--
 src/egl/drivers/dri2/platform_x11.c                |    4 ++--
 .../wayland/wayland-drm/protocol/wayland-drm.xml   |    2 +-
 src/egl/wayland/wayland-drm/wayland-drm.c          |    4 ++--
 src/egl/wayland/wayland-drm/wayland-drm.h          |    2 +-
 src/gallium/state_trackers/egl/x11/x11_screen.c    |    4 ++--
 src/gallium/state_trackers/egl/x11/x11_screen.h    |    2 +-
 9 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index c30e230..97b88a5 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
 <at>  <at>  -127,7 +127,7  <at>  <at>  struct dri2_egl_display
    int			     formats;
 #endif

-   int (*authenticate) (_EGLDisplay *disp, uint32_t id);
+   int (*authenticate) (_EGLDisplay *disp, uint32_t magic);
 };

 struct dri2_egl_context
diff --git a/src/egl/drivers/dri2/platform_drm.c
b/src/egl/drivers/dri2/platform_drm.c
(Continue reading)


Gmane