mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 04:50:34 +01:00
gallium: Initialize var before use.
This commit is contained in:
parent
70894676c2
commit
369115e4c7
1 changed files with 1 additions and 1 deletions
|
|
@ -1198,7 +1198,7 @@ make_3d_mipmap(struct gen_mipmap_state *ctx,
|
|||
{
|
||||
struct pipe_context *pipe = ctx->pipe;
|
||||
struct pipe_screen *screen = pipe->screen;
|
||||
uint dstLevel, zslice;
|
||||
uint dstLevel, zslice = 0;
|
||||
|
||||
assert(pt->block.width == 1);
|
||||
assert(pt->block.height == 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue