summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_texture.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_texture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/virgl/virgl_texture.c b/src/gallium/drivers/virgl/virgl_texture.c
index 71c0e9da7fd..2cee4126652 100644
--- a/src/gallium/drivers/virgl/virgl_texture.c
+++ b/src/gallium/drivers/virgl/virgl_texture.c
@@ -240,7 +240,7 @@ static void virgl_texture_transfer_unmap(struct pipe_context *ctx,
}
-static boolean
+static void
vrend_resource_layout(struct virgl_texture *res,
uint32_t *total_size)
{
@@ -276,7 +276,6 @@ vrend_resource_layout(struct virgl_texture *res,
*total_size = buffer_size;
else /* don't create guest backing store for MSAA */
*total_size = 0;
- return TRUE;
}
static boolean virgl_texture_get_handle(struct pipe_screen *screen,