mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
driFenceType: Really return fence type, not flags.
This typo could lead to the i915tex driver waiting for an EXE only fence as RW, causing it to abort with an error.
This commit is contained in:
parent
177f6398e5
commit
50cecddc4a
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ driFenceType(DriFenceObject * fence)
|
|||
unsigned ret;
|
||||
|
||||
_glthread_LOCK_MUTEX(bmMutex);
|
||||
ret = fence->fence.flags;
|
||||
ret = fence->fence.type;
|
||||
_glthread_UNLOCK_MUTEX(bmMutex);
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue