diff options
author | Marek Olšák <[email protected]> | 2015-06-26 16:28:53 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-05 15:08:59 +0200 |
commit | bd214f030f1cb102a7fe41f40f140d4de2b304c0 (patch) | |
tree | 544cbe81c85b7a5f8d8212362ebc9c449f98bd45 /src/mesa | |
parent | 3da1c7919d0dffee3887f390fcf29893016e3043 (diff) |
gallium: use fence_finish instead of fence_signalled in state trackers
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_syncobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_syncobj.c b/src/mesa/state_tracker/st_cb_syncobj.c index 6d875b851a2..d23c93d98d8 100644 --- a/src/mesa/state_tracker/st_cb_syncobj.c +++ b/src/mesa/state_tracker/st_cb_syncobj.c @@ -81,7 +81,7 @@ static void st_check_sync(struct gl_context *ctx, struct gl_sync_object *obj) struct pipe_screen *screen = st_context(ctx)->pipe->screen; struct st_sync_object *so = (struct st_sync_object*)obj; - if (so->fence && screen->fence_signalled(screen, so->fence)) { + if (so->fence && screen->fence_finish(screen, so->fence, 0)) { screen->fence_reference(screen, &so->fence, NULL); so->b.StatusFlag = GL_TRUE; } |