diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2013-08-29 11:36:44 +0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-09-11 10:56:00 -0700 |
commit | bfbb8e59fadda112fcdb0bf0a0ed2c0b6c1e1923 (patch) | |
tree | cf04a934fa0733a6e97d842dc155ca39f7151a5f /src/weston-egl-ext.h | |
parent | 9a6f02a6b1b20e803e816cdf0aee69eea3c0ff85 (diff) | |
download | weston-bfbb8e59fadda112fcdb0bf0a0ed2c0b6c1e1923.tar.gz |
gl_renderer: Use EGL_WAYLAND_Y_INVERTED_WL to query wl_buffer's orientation
Diffstat (limited to 'src/weston-egl-ext.h')
-rw-r--r-- | src/weston-egl-ext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h index 6aa49fd8..bab87be1 100644 --- a/src/weston-egl-ext.h +++ b/src/weston-egl-ext.h @@ -62,6 +62,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, st #define EGL_BUFFER_AGE_EXT 0x313D #endif +#ifndef EGL_WAYLAND_Y_INVERTED_WL +#define EGL_WAYLAND_Y_INVERTED_WL 0x31DB /* eglQueryWaylandBufferWL attribute */ +#endif + /* Mesas gl2ext.h and probably Khronos upstream defined * GL_EXT_unpack_subimage with non _EXT suffixed GL_UNPACK_* tokens. * In case we're using that mess, manually define the _EXT versions |