summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2015-01-13 08:33:19 +0100
committerIago Toral Quiroga <[email protected]>2015-01-14 07:57:31 +0100
commitc6a2628950202d0792b58e4d7b4d574b6051bdf6 (patch)
tree9f622502d4b7ecca7ff318a20e5ee7d0ec9e06e3 /src/mesa/state_tracker/st_cb_texture.c
parentae417957e04f5f52ac1a15f27c153bc2b426d7dd (diff)
mesa: rename RGBA8888_* format constants to something appropriate.
The 8888 suggests 8-bit components which is not correct, so replace that with the actual size of the components in each format. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 1fb9db6fb68..abc68c0e1b3 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -1170,7 +1170,7 @@ st_GetTexImage(struct gl_context * ctx,
dst_format, rgba);
_mesa_format_convert(dest, dstMesaFormat, dstStride,
- rgba, RGBA8888_FLOAT, srcStride,
+ rgba, RGBA32_FLOAT, srcStride,
width, 1, NULL);
}
else {
@@ -1184,7 +1184,7 @@ st_GetTexImage(struct gl_context * ctx,
dst_format, rgba);
_mesa_format_convert(dest, dstMesaFormat, dstStride,
- rgba, RGBA8888_FLOAT, srcStride,
+ rgba, RGBA32_FLOAT, srcStride,
width, 1, NULL);
}
}