summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorDylan Noblesmith <[email protected]>2012-04-01 19:04:47 +0000
committerDylan Noblesmith <[email protected]>2012-04-13 14:25:12 +0000
commitdd32df3829317105adbfacc7fe7b1d2a2dc96a58 (patch)
treea3f46a349d610842b8b59781ebc84fa80071d9ea /src/mesa/drivers/dri
parent52d021d4d785a4567b9e73ef89e74a295e8cfed9 (diff)
i965: fix typo
Noticed by clang: brw_wm_surface_state.c:330:30: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [MESA_FORMAT_Z24_S8] = 0, ^ brw_wm_surface_state.c:326:30: note: previous initialization is here [MESA_FORMAT_Z24_S8] = 0, ^ No functionality change, since the array is declared static so it was zero-initialized by default. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index 1e37ed2f703..6652ffc1293 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -327,7 +327,7 @@ brw_format_for_mesa_format(gl_format mesa_format)
[MESA_FORMAT_S8_Z24] = 0,
[MESA_FORMAT_Z16] = 0,
[MESA_FORMAT_X8_Z24] = 0,
- [MESA_FORMAT_Z24_S8] = 0,
+ [MESA_FORMAT_Z24_X8] = 0,
[MESA_FORMAT_Z32] = 0,
[MESA_FORMAT_S8] = 0,