summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_unpack.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-30 20:35:02 -0700
committerBrian Paul <[email protected]>2011-12-02 07:22:39 -0700
commit0a3c895f341ae458b09dcdc9cbd674600366a925 (patch)
tree10bc6be40cbc50f70af760d78e65f92a502996ee /src/mesa/main/format_unpack.c
parent0be753a14333b1298649da1d889fe1fc7d3e9f43 (diff)
mesa: rename MESA_FORMAT_RG88 to MESA_FORMAT_GR88
To better reflect the component ordering and be consistent with other format names.
Diffstat (limited to 'src/mesa/main/format_unpack.c')
-rw-r--r--src/mesa/main/format_unpack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c
index 079f71b13ee..47bc06fc6a2 100644
--- a/src/mesa/main/format_unpack.c
+++ b/src/mesa/main/format_unpack.c
@@ -504,7 +504,7 @@ unpack_R8(const void *src, GLfloat dst[][4], GLuint n)
}
static void
-unpack_RG88(const void *src, GLfloat dst[][4], GLuint n)
+unpack_GR88(const void *src, GLfloat dst[][4], GLuint n)
{
const GLushort *s = ((const GLushort *) src);
GLuint i;
@@ -1466,7 +1466,7 @@ get_unpack_rgba_function(gl_format format)
table[MESA_FORMAT_YCBCR] = unpack_YCBCR;
table[MESA_FORMAT_YCBCR_REV] = unpack_YCBCR_REV;
table[MESA_FORMAT_R8] = unpack_R8;
- table[MESA_FORMAT_RG88] = unpack_RG88;
+ table[MESA_FORMAT_GR88] = unpack_GR88;
table[MESA_FORMAT_RG88_REV] = unpack_RG88_REV;
table[MESA_FORMAT_R16] = unpack_R16;
table[MESA_FORMAT_RG1616] = unpack_RG1616;