summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/common/dri_bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr.c b/src/mesa/drivers/dri/common/dri_bufmgr.c
index eaa4fb09c70..ebeed9a2030 100644
--- a/src/mesa/drivers/dri/common/dri_bufmgr.c
+++ b/src/mesa/drivers/dri/common/dri_bufmgr.c
@@ -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;