gallium/dri: Shut up a compiler warning.
The compiler doesn't see that buffers is set in the !image case and used in the !image case. Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
6eadde51bb
commit
935ee6b652
|
@ -368,7 +368,7 @@ dri2_allocate_textures(struct dri_context *ctx,
|
|||
/* Image specific variables */
|
||||
struct __DRIimageList images;
|
||||
/* Dri2 specific variables */
|
||||
__DRIbuffer *buffers;
|
||||
__DRIbuffer *buffers = NULL;
|
||||
struct winsys_handle whandle;
|
||||
unsigned num_buffers = statts_count;
|
||||
|
||||
|
|
Loading…
Reference in New Issue