aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_ringbuffer.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-05 10:41:29 +1100
committerTimothy Arceri <[email protected]>2017-03-07 08:23:26 +1100
commit3f58242863e03c47e3b37a63c84a965d12047612 (patch)
tree59627be6a5ad7d7f6dec85f2b066fe13b2aa0a81 /src/gallium/auxiliary/util/u_ringbuffer.c
parent63d7a12fad8216dce4a0212c705678d2d07653b3 (diff)
gallium/util: replace pipe_condvar_init() with cnd_init()
pipe_condvar_init() was made unnecessary with fd33a6bcd7f12. Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_ringbuffer.c')
-rw-r--r--src/gallium/auxiliary/util/u_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_ringbuffer.c b/src/gallium/auxiliary/util/u_ringbuffer.c
index 19830a904e6..e3be3ef1fba 100644
--- a/src/gallium/auxiliary/util/u_ringbuffer.c
+++ b/src/gallium/auxiliary/util/u_ringbuffer.c
@@ -35,7 +35,7 @@ struct util_ringbuffer *util_ringbuffer_create( unsigned dwords )
ring->mask = dwords - 1;
- pipe_condvar_init(ring->change);
+ cnd_init(&ring->change);
pipe_mutex_init(ring->mutex);
return ring;