svga: minor code simplification in svga_context_finish()
authorBrian Paul <brianp@vmware.com>
Wed, 22 Jun 2016 22:51:15 +0000 (16:51 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Jun 2016 19:02:28 +0000 (13:02 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_context.c

index fa6406c..c7f4aae 100644 (file)
@@ -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);
 }