From: Brian Paul Date: Tue, 28 Apr 2015 21:48:56 +0000 (-0600) Subject: st/mesa: also try PIPE_FORMAT_R10G10B10A2_UNORM for GL_RGB10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7bdb2f3724808d6a280471847300abe192d4f5a;p=mesa.git st/mesa: also try PIPE_FORMAT_R10G10B10A2_UNORM for GL_RGB10 Reviewed-by: Ilia Mirkin --- diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 181465dd81b..db7b5b71d66 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -991,7 +991,7 @@ static const struct format_mapping format_map[] = { { { GL_RGB10, 0 }, { PIPE_FORMAT_B10G10R10X2_UNORM, PIPE_FORMAT_B10G10R10A2_UNORM, - DEFAULT_RGB_FORMATS } + PIPE_FORMAT_R10G10B10A2_UNORM, DEFAULT_RGB_FORMATS } }, { { GL_RGB10_A2, 0 },