diff options
author | Brian Paul <brianp@vmware.com> | 2011-11-30 20:35:02 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-12-02 07:22:39 -0700 |
commit | b4aecc4e1861e60e40e14868719219084967e46d (patch) | |
tree | fcc638fea88750bbd5e1e1eb36de13fd0e5ea980 /src/mesa/main/formats.c | |
parent | 0a3c895f341ae458b09dcdc9cbd674600366a925 (diff) | |
download | external_mesa3d-b4aecc4e1861e60e40e14868719219084967e46d.zip external_mesa3d-b4aecc4e1861e60e40e14868719219084967e46d.tar.gz external_mesa3d-b4aecc4e1861e60e40e14868719219084967e46d.tar.bz2 |
mesa: rename MESA_FORMAT_RG88_REV to MESA_FORMAT_RG88
R is in the high byte, G in the low byte.
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r-- | src/mesa/main/formats.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 0d4af7c..595da77 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -384,8 +384,8 @@ static struct gl_format_info format_info[MESA_FORMAT_COUNT] = 1, 1, 2 }, { - MESA_FORMAT_RG88_REV, - "MESA_FORMAT_RG88_REV", + MESA_FORMAT_RG88, + "MESA_FORMAT_RG88", GL_RG, GL_UNSIGNED_NORMALIZED, 8, 8, 0, 0, @@ -2077,7 +2077,7 @@ _mesa_format_to_type_and_comps(gl_format format, case MESA_FORMAT_AL88: case MESA_FORMAT_AL88_REV: case MESA_FORMAT_GR88: - case MESA_FORMAT_RG88_REV: + case MESA_FORMAT_RG88: *datatype = GL_UNSIGNED_BYTE; *comps = 2; return; @@ -2613,7 +2613,7 @@ _mesa_format_matches_format_and_type(gl_format gl_format, return format == GL_RED && type == GL_UNSIGNED_BYTE; case MESA_FORMAT_GR88: return format == GL_RG && type == GL_UNSIGNED_BYTE && littleEndian; - case MESA_FORMAT_RG88_REV: + case MESA_FORMAT_RG88: return GL_FALSE; case MESA_FORMAT_R16: |