egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Sun, 6 Mar 2011 23:29:13 +0000 (00:29 +0100)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Sun, 6 Mar 2011 23:32:05 +0000 (00:32 +0100)
Broken since 6538b5824e298eaebede2d9686c7607c44ab446a.
Thanks to iskren on #wayland for helping on finding this.

src/egl/drivers/dri2/egl_dri2.c

index 015b801c75793079d9089746cafabac2af6b2dfe..f7e063b35249423af8699d17da74fcb116650c2a 100644 (file)
@@ -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 *