Mesa (master): egl: align the formatting of Haiku section of eglplatform.h with Khronos'

Eric Engeström eric_engestrom at kemper.freedesktop.org
Wed Mar 21 14:30:56 UTC 2018


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

Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Fri Mar 16 14:17:54 2018 +0000

egl: align the formatting of Haiku section of eglplatform.h with Khronos'

Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

---

 include/EGL/eglplatform.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 8a78a9eadd..b0541d52ae 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"




More information about the mesa-commit mailing list