summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_context.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-03-07 13:31:52 +0800
committerChia-I Wu <[email protected]>2015-05-02 22:14:06 +0800
commit9b7080c8b35b02b16f58fb8b869b45de9857e8e5 (patch)
tree32525ddaf04260f4616343e9d6b8ba32d06a6d92 /src/gallium/drivers/ilo/ilo_context.c
parent2182beb431a3e866022fb76199a5a58dfb23d1e4 (diff)
ilo: add ilo_fence.h to core
Implement pipe_fence_handle on top of ilo_fence.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_context.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_context.c b/src/gallium/drivers/ilo/ilo_context.c
index 5993591aca2..3d5c7b636a8 100644
--- a/src/gallium/drivers/ilo/ilo_context.c
+++ b/src/gallium/drivers/ilo/ilo_context.c
@@ -62,8 +62,7 @@ ilo_flush(struct pipe_context *pipe,
(flags & PIPE_FLUSH_END_OF_FRAME) ? "frame end" : "user request");
if (f) {
- *f = (struct pipe_fence_handle *)
- ilo_fence_create(pipe->screen, ilo->cp->last_submitted_bo);
+ *f = ilo_screen_fence_create(pipe->screen, ilo->cp->last_submitted_bo);
}
}