Note: This is a candidate for the stable branches. Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> --- src/mesa/drivers/dri/common/utils.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c index ac0773b..41cab13 100644 --- a/src/mesa/drivers/dri/common/utils.c +++ b/src/mesa/drivers/dri/common/utils.c @@ -189,6 +189,8 @@ driCreateConfigs(gl_format format, { 0x00FF0000, 0x0000FF00, 0x000000FF, 0x00000000 }, /* MESA_FORMAT_ARGB8888 */ { 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000 }, + /* MESA_FORMAT_ARGB1555 */ + { 0x00007c00, 0x000003E0, 0x0000001F, 0x00008000 }, }; const uint32_t * masks; @@ -204,6 +206,9 @@ driCreateConfigs(gl_format format, bool is_srgb; switch (format) { + case MESA_FORMAT_ARGB1555: + masks = masks_table[3]; + break; case MESA_FORMAT_RGB565: masks = masks_table[0]; break; -- 1.7.10.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev