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 fa6406c9f89233ebaad73b15f2d28064c50b3adf..c7f4aae246d0772095b4ee805a6bb74a797c77ae 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);
 }