diff options
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_buffer_upload.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer_upload.c b/src/gallium/drivers/svga/svga_resource_buffer_upload.c index 93a6dee0724..74c3bc4ed61 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer_upload.c +++ b/src/gallium/drivers/svga/svga_resource_buffer_upload.c @@ -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; } |