mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 00:10:20 +01:00
intel: Fix compile warning from 7b6424143d
This commit is contained in:
parent
cdca6e3c9f
commit
1c1040dcf0
1 changed files with 2 additions and 2 deletions
|
|
@ -321,8 +321,8 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
|
|||
struct intel_renderbuffer *rb;
|
||||
struct gl_texture_object *texObj;
|
||||
struct gl_texture_image *texImage;
|
||||
int level = 0, internalFormat;
|
||||
gl_format texFormat;
|
||||
int level = 0, internalFormat = 0;
|
||||
gl_format texFormat = MESA_FORMAT_NONE;
|
||||
|
||||
texObj = _mesa_get_current_tex_object(ctx, target);
|
||||
intelObj = intel_texture_object(texObj);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue