mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel: Sync a synchronized READ_BIT map buffer range with GL drawing to it.
It's probably uncommon, but would obviously have gone wrong.
This commit is contained in:
parent
aecba6b1c8
commit
82313eed01
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ intel_bufferobj_map_range(GLcontext * ctx,
|
|||
* the batchbuffer so that GEM knows about the buffer access for later
|
||||
* syncing.
|
||||
*/
|
||||
if ((access & GL_MAP_WRITE_BIT) && !(access & GL_MAP_UNSYNCHRONIZED_BIT))
|
||||
if (!(access & GL_MAP_UNSYNCHRONIZED_BIT))
|
||||
intelFlush(ctx);
|
||||
|
||||
if (intel_obj->buffer == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue