mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 23:00:28 +01:00
svga: set buffer bind_flags in svga_buffer_add_host_surface()
To match the in-house VMware code. Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
337a74aa40
commit
25fceccf72
1 changed files with 3 additions and 0 deletions
|
|
@ -316,6 +316,9 @@ svga_buffer_add_host_surface(struct svga_buffer *sbuf,
|
|||
/* add the surface to the surface list */
|
||||
LIST_ADD(&bufsurf->list, &sbuf->surfaces);
|
||||
|
||||
/* Set the new bind flags for this buffer resource */
|
||||
sbuf->bind_flags = bind_flags;
|
||||
|
||||
return PIPE_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue