summaryrefslogtreecommitdiffstats
path: root/include/EGL
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-03-16 14:17:54 +0000
committerEric Engestrom <[email protected]>2018-03-21 14:28:05 +0000
commitf744c6c1e28fe363474550b94af42a8b7fc1c755 (patch)
tree482d7c3d9371d80640ea1084a8a396bac9db4200 /include/EGL
parentac698ae4a01b57d490501731acf97685ec3f6cdf (diff)
egl: align the formatting of Haiku section of eglplatform.h with Khronos'
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'include/EGL')
-rw-r--r--include/EGL/eglplatform.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 8a78a9eaddd..b0541d52aed 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -130,11 +130,13 @@ typedef Window EGLNativeWindowType;
#endif /* MESA_EGL_NO_X11_HEADERS */
-#elif __HAIKU__
+#elif defined(__HAIKU__)
+
#include <kernel/image.h>
-typedef void *EGLNativeDisplayType;
-typedef khronos_uintptr_t EGLNativePixmapType;
-typedef khronos_uintptr_t EGLNativeWindowType;
+
+typedef void *EGLNativeDisplayType;
+typedef khronos_uintptr_t EGLNativePixmapType;
+typedef khronos_uintptr_t EGLNativeWindowType;
#else
#error "Platform not recognized"