mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-05 02:08:18 +02:00
r600g: Remove unused variable.
Fixes this GCC warning. eg_hw_states.c: In function 'eg_resource': eg_hw_states.c:525: warning: unused variable 'r'
This commit is contained in:
parent
68fdd5f0d9
commit
95cb6d30ae
1 changed files with 0 additions and 1 deletions
|
|
@ -522,7 +522,6 @@ static void eg_resource(struct pipe_context *ctx, struct radeon_state *rstate,
|
|||
unsigned format;
|
||||
uint32_t word4 = 0, yuv_format = 0, pitch = 0;
|
||||
unsigned char swizzle[4];
|
||||
int r;
|
||||
|
||||
rstate->cpm4 = 0;
|
||||
swizzle[0] = view->swizzle_r;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue