clover: Fix build after the addition of enum pipe_flush_flags
authorTom Stellard <thomas.stellard@amd.com>
Fri, 4 Jan 2013 15:47:53 +0000 (15:47 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 4 Jan 2013 21:05:09 +0000 (21:05 +0000)
Broken since commit 598cc1f74d7ae924e84dee801b456ab7b0b22f84

src/gallium/state_trackers/clover/core/queue.cpp

index cd961efbf2f0ecc5cb6c6f945acead7fcb76655c..060254aa8a3f4512859b6e6a38cdfe7917eb69d3 100644 (file)
@@ -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);