softpipe: Use p_atomic_read, not atomic_read.
This commit is contained in:
parent
cf25ef9072
commit
47c18b35b0
|
@ -138,7 +138,7 @@ softpipe_texture_create(struct pipe_screen *screen,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
assert(atomic_read(&spt->base.reference.count) == 1);
|
||||
assert(p_atomic_read(&spt->base.reference.count) == 1);
|
||||
return &spt->base;
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue