summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-04-28 15:48:56 -0600
committerBrian Paul <brianp@vmware.com>2015-05-05 15:27:52 -0600
commitf7bdb2f3724808d6a280471847300abe192d4f5a (patch)
treea98baf9d6fbeb92fce361bd1ff30d112b1968292 /src
parentcea910bc28d5647ae5a9f66abe0c9ef75ab1c69b (diff)
downloadexternal_mesa3d-f7bdb2f3724808d6a280471847300abe192d4f5a.zip
external_mesa3d-f7bdb2f3724808d6a280471847300abe192d4f5a.tar.gz
external_mesa3d-f7bdb2f3724808d6a280471847300abe192d4f5a.tar.bz2
st/mesa: also try PIPE_FORMAT_R10G10B10A2_UNORM for GL_RGB10
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 181465d..db7b5b7 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 },