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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user