diff options
author | Eric Engestrom <[email protected]> | 2018-03-16 14:17:54 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-03-21 14:28:05 +0000 |
commit | f744c6c1e28fe363474550b94af42a8b7fc1c755 (patch) | |
tree | 482d7c3d9371d80640ea1084a8a396bac9db4200 /include/EGL/eglplatform.h | |
parent | ac698ae4a01b57d490501731acf97685ec3f6cdf (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/eglplatform.h')
-rw-r--r-- | include/EGL/eglplatform.h | 10 |
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" |