From: José Fonseca Date: Fri, 6 Nov 2009 12:04:49 +0000 (+0000) Subject: mesa: Translate MAP_UNSYNCHRONIZED_BIT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f611425101eab5c4b41407c38966f4deca542f56;p=mesa.git mesa: Translate MAP_UNSYNCHRONIZED_BIT. --- diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 8e09d0b9324..63196afba9c 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -239,6 +239,9 @@ st_bufferobj_map_range(GLcontext *ctx, GLenum target, if (access & GL_MAP_FLUSH_EXPLICIT_BIT) flags |= PIPE_BUFFER_USAGE_FLUSH_EXPLICIT; + if (access & GL_MAP_UNSYNCHRONIZED_BIT) + flags |= PIPE_BUFFER_USAGE_UNSYNCHRONIZED; + /* ... other flags ... */