summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-04-25 15:06:41 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-04-25 15:07:15 -0400
commitb6ed837ffef8b1820ea9e97c095502ba7b05927e (patch)
tree546d268ff79922bca343f0b4a4d57d556635ba57 /include
parent4dfbb81891dd12b093308b91899d1d8fb084bf6d (diff)
wayland: Fix prototypes for EGL_WL_bind_wayland_display extension
Diffstat (limited to 'include')
-rw-r--r--include/EGL/eglext.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h
index fa523a51d6..9fd3eb81ac 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 */