diff options
author | Eric Engestrom <[email protected]> | 2018-03-16 14:14:48 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-03-21 14:28:05 +0000 |
commit | ac698ae4a01b57d490501731acf97685ec3f6cdf (patch) | |
tree | f6a9aa07b7d6c1284d6733aeba4a6adbd1fd3d7e /include | |
parent | c95d953b18d5174153e55957fb6947b9b59588ce (diff) |
egl: add Ozone section to eglplatform.h
This pulls in commit a93f559e9c11fa53fb5f1cc255b8f75433f85d2a "Add Ozone
section to eglplatform.h" from Khronos [1] added by Brian Anderson [2]
a few months ago.
[1] https://github.com/KhronosGroup/EGL-Registry/commit/a93f559e9c11fa53fb5f1cc255b8f75433f85d2a
[2] https://github.com/KhronosGroup/EGL-Registry/pull/26
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/EGL/eglplatform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index bf9ec0bf5f4..8a78a9eaddd 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -104,6 +104,12 @@ typedef struct ANativeWindow* EGLNativeWindowType; 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__) || defined(__APPLE__) #if defined(MESA_EGL_NO_X11_HEADERS) |