| commit | 20de2e45e397d4ed336a25e7222ff5ec21e85a73 | [log] [tgz] |
|---|---|---|
| author | Alexis Hetu <sugoi@google.com> | Fri Aug 04 13:26:44 2017 -0400 |
| committer | Alexis Hétu <sugoi@google.com> | Fri Aug 04 18:56:51 2017 +0000 |
| tree | 01e8f397cd34c9bb42600994c778791d08f558e8 | |
| parent | 62a3d37734adaa522571deb7f82ab2a04477d30e [diff] |
EGL header fix for OZONE This should allow to compile on the OZONE platform without hitting the X11 include library problem. The change is imported from: https://cs.chromium.org/chromium/src/third_party/khronos/EGL/eglplatform.h Change-Id: I3b3acc139865797ce6c4173991f15840e91f5935 Reviewed-on: https://swiftshader-review.googlesource.com/11308 Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com> Tested-by: Alexis Hétu <sugoi@google.com>
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index c77c333..f5a22bc 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h
@@ -92,6 +92,12 @@ typedef struct egl_native_pixmap_t* EGLNativePixmapType; typedef void* EGLNativeDisplayType; +#elif defined(USE_OZONE) + +typedef intptr_t EGLNativeDisplayType; +typedef intptr_t EGLNativeWindowType; +typedef intptr_t EGLNativePixmapType; + #elif defined(__unix__) /* X11 (tentative) */