diff options
Diffstat (limited to 'src/gallium/auxiliary/util/u_range.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_range.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_range.h b/src/gallium/auxiliary/util/u_range.h index a09dc9ae267..7d3fc61aa32 100644 --- a/src/gallium/auxiliary/util/u_range.h +++ b/src/gallium/auxiliary/util/u_range.h @@ -62,7 +62,7 @@ util_range_add(struct util_range *range, unsigned start, unsigned end) mtx_lock(&range->write_mutex); range->start = MIN2(start, range->start); range->end = MAX2(end, range->end); - pipe_mutex_unlock(range->write_mutex); + mtx_unlock(&range->write_mutex); } } |