diff options
author | José Fonseca <[email protected]> | 2009-11-06 12:04:49 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-11-06 12:06:44 +0000 |
commit | f611425101eab5c4b41407c38966f4deca542f56 (patch) | |
tree | e2a5c22ffa339886df31184b3e13c49be1938f71 /src/mesa | |
parent | 244591ae7b2582a1d1f5d2fdc2d3812643104eb9 (diff) |
mesa: Translate MAP_UNSYNCHRONIZED_BIT.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bufferobjects.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ... */ |