mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
r300: fix uninit variable warning
This commit is contained in:
parent
e0313ef061
commit
760068cc8d
1 changed files with 1 additions and 2 deletions
|
|
@ -268,8 +268,7 @@ static void emit_zstencil_format(GLcontext *ctx, struct radeon_state_atom * atom
|
|||
r300ContextPtr r300 = R300_CONTEXT(ctx);
|
||||
BATCH_LOCALS(&r300->radeon);
|
||||
struct radeon_renderbuffer *rrb;
|
||||
uint32_t zbpitch;
|
||||
uint32_t format;
|
||||
uint32_t format = 0;
|
||||
|
||||
rrb = radeon_get_depthbuffer(&r300->radeon);
|
||||
if (!rrb)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue