Commit 20de2e45 by Alexis Hetu Committed by Alexis Hétu

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/11308Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 62a3d377
...@@ -92,6 +92,12 @@ typedef struct ANativeWindow* EGLNativeWindowType; ...@@ -92,6 +92,12 @@ typedef struct ANativeWindow* EGLNativeWindowType;
typedef struct egl_native_pixmap_t* EGLNativePixmapType; typedef struct egl_native_pixmap_t* EGLNativePixmapType;
typedef void* EGLNativeDisplayType; typedef void* EGLNativeDisplayType;
#elif defined(USE_OZONE)
typedef intptr_t EGLNativeDisplayType;
typedef intptr_t EGLNativeWindowType;
typedef intptr_t EGLNativePixmapType;
#elif defined(__unix__) #elif defined(__unix__)
/* X11 (tentative) */ /* X11 (tentative) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment