mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
virgl: drop needless return-code
We always return TRUE, and we never check the return-value. Let's just drop the return value instead. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
9635869d73
commit
b9c40e492d
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue