diff options
author | Tapani Pälli <[email protected]> | 2014-01-08 15:17:59 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2014-01-13 08:00:37 +0200 |
commit | 99abb87c63a46c2a0ace6c11076e35a0c2d2bc7e (patch) | |
tree | 12ac4eee9f188bb0b4c5b2ec0c77951a0f6f9bee /src/mesa/drivers/dri/common/utils.c | |
parent | f8c5b8a17dae2ee0d63e5456dc76c77436ac1946 (diff) |
dri: set yInverted default to GL_TRUE
yInverted is used by EGL_NOK_texture_from_pixmap to indicate that
window system rendering is y-inverted compared to OpenGL texture
representation. This extension is only known to be used with X11
window system where sane default is GL_TRUE.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73371
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.c')
-rw-r--r-- | src/mesa/drivers/dri/common/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c index 9c9483209d8..3e35fe2d067 100644 --- a/src/mesa/drivers/dri/common/utils.c +++ b/src/mesa/drivers/dri/common/utils.c @@ -308,6 +308,7 @@ driCreateConfigs(gl_format format, __DRI_ATTRIB_TEXTURE_2D_BIT | __DRI_ATTRIB_TEXTURE_RECTANGLE_BIT; + modes->yInverted = GL_TRUE; modes->sRGBCapable = is_srgb; } } |