wayland: Fix prototypes for EGL_WL_bind_wayland_display extension
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:06:41 +0000 (15:06 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:07:15 +0000 (15:07 -0400)
include/EGL/eglext.h

index fa523a51d6718dcf1e5ddfc4de1dff47bb39f74f..9fd3eb81acd8ab11afccab0426c8cd238be5fb68 100644 (file)
@@ -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 */