mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
st/dri: fix warning: ‘bind’ may be used uninitialized in this function
This commit is contained in:
parent
f1e160f89b
commit
1868d21c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -270,7 +270,7 @@ dri2_allocate_buffer(__DRIscreen *sPriv,
|
|||
struct pipe_resource templ;
|
||||
enum st_attachment_type statt;
|
||||
enum pipe_format pf;
|
||||
unsigned bind;
|
||||
unsigned bind = 0;
|
||||
struct winsys_handle whandle;
|
||||
|
||||
switch (attachment) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue