Module: Mesa
Branch: master
Commit: 54f3a3e88d35c855c43c31ae7c915cfa55d1f5d7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=54f3a3e88d35c855c43c31ae7c915cfa55d1f5d7

Author: Tom Stellard <[email protected]>
Date:   Fri Jan  4 15:47:53 2013 +0000

clover: Fix build after the addition of enum pipe_flush_flags

Broken since commit 598cc1f74d7ae924e84dee801b456ab7b0b22f84

---

 src/gallium/state_trackers/clover/core/queue.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/clover/core/queue.cpp 
b/src/gallium/state_trackers/clover/core/queue.cpp
index cd961ef..060254a 100644
--- a/src/gallium/state_trackers/clover/core/queue.cpp
+++ b/src/gallium/state_trackers/clover/core/queue.cpp
@@ -53,7 +53,7 @@ _cl_command_queue::flush() {
                                [](event_ptr &ev) { return !ev->signalled(); });
 
       // Flush and fence them.
-      pipe->flush(pipe, &fence, 0);
+      pipe->flush(pipe, &fence, (enum pipe_flush_flags)0);
       std::for_each(first, last, [&](event_ptr &ev) { ev->fence(fence); });
       screen->fence_reference(screen, &fence, NULL);
       queued_events.erase(first, last);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to