summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
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/state_tracker
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/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 4b34acfc4fa..5f9ae91298f 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st_format.c
@@ -287,7 +287,7 @@ st_mesa_format_to_pipe_format(gl_format mesaFormat)
return PIPE_FORMAT_R8_UNORM;
case MESA_FORMAT_R16:
return PIPE_FORMAT_R16_UNORM;
- case MESA_FORMAT_RG88:
+ case MESA_FORMAT_GR88:
return PIPE_FORMAT_R8G8_UNORM;
case MESA_FORMAT_RG1616:
return PIPE_FORMAT_R16G16_UNORM;
@@ -619,7 +619,7 @@ st_pipe_format_to_mesa_format(enum pipe_format format)
case PIPE_FORMAT_R16_UNORM:
return MESA_FORMAT_R16;
case PIPE_FORMAT_R8G8_UNORM:
- return MESA_FORMAT_RG88;
+ return MESA_FORMAT_GR88;
case PIPE_FORMAT_R16G16_UNORM:
return MESA_FORMAT_RG1616;