From: Brian Paul Date: Wed, 22 Jun 2016 22:51:15 +0000 (-0600) Subject: svga: minor code simplification in svga_context_finish() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db721da5a366039ec88e2ab2b64e0ea1c551e028;p=mesa.git svga: minor code simplification in svga_context_finish() Signed-off-by: Brian Paul Reviewed-by: Charmaine Lee --- diff --git a/src/gallium/drivers/svga/svga_context.c b/src/gallium/drivers/svga/svga_context.c index fa6406c9f89..c7f4aae246d 100644 --- a/src/gallium/drivers/svga/svga_context.c +++ b/src/gallium/drivers/svga/svga_context.c @@ -369,7 +369,7 @@ svga_context_finish(struct svga_context *svga) struct pipe_fence_handle *fence = NULL; svga_context_flush(svga, &fence); - svga->pipe.screen->fence_finish(screen, fence, PIPE_TIMEOUT_INFINITE); + screen->fence_finish(screen, fence, PIPE_TIMEOUT_INFINITE); screen->fence_reference(screen, &fence, NULL); }