aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-19 14:26:50 -0700
committerEric Anholt <[email protected]>2013-06-26 01:07:11 -0700
commit820325b258b6531377ec34840193c64bfa10fc36 (patch)
treebb58e0e1fd2389d5746a4bb58077170a7bc2cfc6 /src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
parentc20f973c4f8fa2c275e445b5da8deefcba874d2e (diff)
i965: Drop unused argument to translate_tex_format().
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_wm_surface_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_wm_surface_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
index c2699ab817e..6d61b1f65f7 100644
--- a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
@@ -311,7 +311,6 @@ gen7_update_texture_surface(struct gl_context *ctx,
uint32_t tex_format = translate_tex_format(intel,
mt->format,
- firstImage->InternalFormat,
tObj->DepthMode,
sampler->sRGBDecode);