[Mesa-dev] [PATCH 4/9] dri/common: allow BGRX sRGB visuals

Marek Olšák maraeo at gmail.com
Wed Jun 10 09:27:15 PDT 2015


From: Marek Olšák <marek.olsak at amd.com>

---
 src/mesa/drivers/dri/common/utils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c
index 70d34e8..b51b263 100644
--- a/src/mesa/drivers/dri/common/utils.c
+++ b/src/mesa/drivers/dri/common/utils.c
@@ -213,6 +213,7 @@ driCreateConfigs(mesa_format format,
       masks = masks_table[0];
       break;
    case MESA_FORMAT_B8G8R8X8_UNORM:
+   case MESA_FORMAT_B8G8R8X8_SRGB:
       masks = masks_table[1];
       break;
    case MESA_FORMAT_B8G8R8A8_UNORM:
-- 
2.1.0



More information about the mesa-dev mailing list