mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
mesa: silence 'variable may be used uninitialized' warning in teximage.c
Found with MinGW optimized build. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
fed856478c
commit
42eb3052c3
1 changed files with 1 additions and 1 deletions
|
|
@ -4885,7 +4885,7 @@ compressed_tex_sub_image(unsigned dim, GLenum target, GLuint texture,
|
|||
const GLvoid *data, bool dsa, bool no_error,
|
||||
const char *caller)
|
||||
{
|
||||
struct gl_texture_object *texObj;
|
||||
struct gl_texture_object *texObj = NULL;
|
||||
struct gl_texture_image *texImage;
|
||||
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue