gallium: fix type of flags in pipe_context::flush()
[mesa.git] / src / mesa / state_tracker / st_manager.c
index ff52aa1f9b5a7b020b646f72d14a30dda368c490..5561af6c7fc013ab518c78faf9b60fe6245f54b8 100644 (file)
@@ -453,7 +453,7 @@ st_context_flush(struct st_context_iface *stctxi, unsigned flags,
                  struct pipe_fence_handle **fence)
 {
    struct st_context *st = (struct st_context *) stctxi;
-   enum pipe_flush_flags pipe_flags = 0;
+   unsigned pipe_flags = 0;
 
    if (flags & ST_FLUSH_END_OF_FRAME) {
       pipe_flags |= PIPE_FLUSH_END_OF_FRAME;