mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue