diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 12:00:15 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:52:07 +1100 |
commit | 75b47dda0c8895afe77858cbb67efa38e17e1838 (patch) | |
tree | 988551a306b28367a7e3f1fb3b664aeb0fe2807c /src/gallium/drivers/r300 | |
parent | acdcaf9be4695ccdc4a589a3416591dd316e876c (diff) |
gallium/util: replace pipe_mutex_init() with mtx_init()
pipe_mutex_init() was made unnecessary with fd33a6bcd7f12.
Replace was done using:
find ./src -type f -exec sed -i -- \
's:pipe_mutex_init(\([^)]*\)):(void) mtx_init(\&\1, mtx_plain):g' {} \;
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 903502d407e..392b0bb6a8a 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -751,7 +751,7 @@ struct pipe_screen* r300_screen_create(struct radeon_winsys *rws) slab_create_parent(&r300screen->pool_transfers, sizeof(struct pipe_transfer), 64); util_format_s3tc_init(); - pipe_mutex_init(r300screen->cmask_mutex); + (void) mtx_init(&r300screen->cmask_mutex, mtx_plain); return &r300screen->screen; } |