Mesa (master): wayland: Fix prototypes for EGL_WL_bind_wayland_display extension

Kristian Høgsberg krh at kemper.freedesktop.org
Mon Apr 25 12:08:55 PDT 2011


Module: Mesa
Branch: master
Commit: b6ed837ffef8b1820ea9e97c095502ba7b05927e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6ed837ffef8b1820ea9e97c095502ba7b05927e

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon Apr 25 15:06:41 2011 -0400

wayland: Fix prototypes for EGL_WL_bind_wayland_display extension

---

 include/EGL/eglext.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
index fa523a5..9fd3eb8 100644
--- a/include/EGL/eglext.h
+++ b/include/EGL/eglext.h
@@ -151,10 +151,9 @@ struct wl_display;
 #ifdef EGL_EGLEXT_PROTOTYPES
 EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
 EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
-#else
-typedef EGLBoolean (EGLAPIENTRY PFNEGLBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
-typedef EGLBoolean (EGLAPIENTRY PFNEGLUNBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
 #endif
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
 #endif
 
 #if KHRONOS_SUPPORT_INT64   /* EGLTimeKHR requires 64-bit uint support */



More information about the mesa-commit mailing list