diff options
author | Marek Olšák <[email protected]> | 2015-06-10 02:50:42 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-03 16:23:28 +0200 |
commit | a34e8714491022a2efde8a44972ac582f098b7ad (patch) | |
tree | 118f6bda5d91e2bfae5b13c50c13a84f9d4e0499 /src | |
parent | 9e127325ef461a11345df7ba6884e77c7168ab37 (diff) |
dri/common: allow BGRX sRGB visuals
Diffstat (limited to 'src')
-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 70d34e8ce55..b51b263fe46 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: |