diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_buffer.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_screen_cache.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer.c b/src/gallium/drivers/svga/svga_resource_buffer.c index 9ecb97509c2..d91497cf19f 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer.c +++ b/src/gallium/drivers/svga/svga_resource_buffer.c @@ -69,7 +69,7 @@ static void * svga_buffer_transfer_map(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, - unsigned usage, + enum pipe_resource_usage usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) { diff --git a/src/gallium/drivers/svga/svga_screen_cache.c b/src/gallium/drivers/svga/svga_screen_cache.c index 321c564e7f5..eaa589c4c26 100644 --- a/src/gallium/drivers/svga/svga_screen_cache.c +++ b/src/gallium/drivers/svga/svga_screen_cache.c @@ -413,7 +413,7 @@ svga_screen_cache_init(struct svga_screen *svgascreen) */ struct svga_winsys_surface * svga_screen_surface_create(struct svga_screen *svgascreen, - unsigned bind_flags, unsigned usage, + unsigned bind_flags, enum pipe_resource_usage usage, struct svga_host_surface_cache_key *key) { struct svga_winsys_screen *sws = svgascreen->sws; diff --git a/src/gallium/drivers/svga/svga_screen_cache.h b/src/gallium/drivers/svga/svga_screen_cache.h index 424eb2c5ae1..05d8c56d83c 100644 --- a/src/gallium/drivers/svga/svga_screen_cache.h +++ b/src/gallium/drivers/svga/svga_screen_cache.h @@ -140,7 +140,7 @@ svga_screen_cache_init(struct svga_screen *svgascreen); struct svga_winsys_surface * svga_screen_surface_create(struct svga_screen *svgascreen, - unsigned bind_flags, unsigned usage, + unsigned bind_flags, enum pipe_resource_usage usage, struct svga_host_surface_cache_key *key); void |