diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 10:41:29 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:23:26 +1100 |
commit | 3f58242863e03c47e3b37a63c84a965d12047612 (patch) | |
tree | 59627be6a5ad7d7f6dec85f2b066fe13b2aa0a81 /src/gallium/auxiliary/pipebuffer | |
parent | 63d7a12fad8216dce4a0212c705678d2d07653b3 (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/pipebuffer')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c index fdbcf9e5c44..541a6d9079a 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_slab.c @@ -350,7 +350,7 @@ pb_slab_create(struct pb_slab_manager *mgr) buf->slab = slab; buf->start = i* mgr->bufSize; buf->mapCount = 0; - pipe_condvar_init(buf->event); + cnd_init(&buf->event); LIST_ADDTAIL(&buf->head, &slab->freeBuffers); slab->numFree++; buf++; |