mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
pipe: Fix InterlockedDecrement usage.
This commit is contained in:
parent
995a168dea
commit
dbb90436f8
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ struct pipe_atomic
|
|||
static INLINE boolean
|
||||
p_atomic_dec_zero(struct pipe_atomic *v)
|
||||
{
|
||||
return InterlockedDecrement(&v->count);
|
||||
return InterlockedDecrement(&v->count) != 0;
|
||||
}
|
||||
|
||||
static INLINE void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue