summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-03-07 00:29:13 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-03-07 00:32:05 +0100
commit4f6fbfa0ed45dcd4be236a286725077c8f005647 (patch)
treee2b3b3e098deb9472aefeacd8b507a7149703bd3 /src/egl
parente0cf8471a17ca47ed561b3a2ca8c604183213d6b (diff)
egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE
Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this.
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 015b801c75..f7e063b352 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -94,6 +94,7 @@ EGLint dri2_to_egl_attribute_map[] = {
0, /* __DRI_ATTRIB_BIND_TO_MIPMAP_TEXTURE */
0, /* __DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS */
EGL_Y_INVERTED_NOK, /* __DRI_ATTRIB_YINVERTED */
+ 0, /* __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE */
};
struct dri2_egl_config *