nine: Fix uninitialized warning in texture9.c

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10806>
This commit is contained in:
Timur Kristóf 2021-05-14 17:04:04 +02:00 committed by Marge Bot
parent b778564c76
commit 438510a7f5

View file

@ -50,7 +50,7 @@ NineTexture9_ctor( struct NineTexture9 *This,
struct pipe_screen *screen = pParams->device->screen;
struct pipe_resource *info = &This->base.base.info;
enum pipe_format pf;
unsigned *level_offsets;
unsigned *level_offsets = NULL;
unsigned l;
D3DSURFACE_DESC sfdesc;
HRESULT hr;