gallium/util: replace pipe_mutex_unlock() with mtx_unlock()
pipe_mutex_unlock() was made unnecessary with fd33a6bcd7
.
Replaced using:
find ./src -type f -exec sed -i -- \
's:pipe_mutex_unlock(\([^)]*\)):mtx_unlock(\&\1):g' {} \;
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -336,7 +336,7 @@ static void r300_clear(struct pipe_context* pipe,
|
||||
* Then in texture_destroy, we set cmask_resource to NULL. */
|
||||
r300->screen->cmask_resource = fb->cbufs[0]->texture;
|
||||
}
|
||||
pipe_mutex_unlock(r300->screen->cmask_mutex);
|
||||
mtx_unlock(&r300->screen->cmask_mutex);
|
||||
}
|
||||
|
||||
if (r300->screen->cmask_resource == fb->cbufs[0]->texture) {
|
||||
|
Reference in New Issue
Block a user