softpipe: Use p_atomic_read, not atomic_read.

This commit is contained in:
Michal Krol 2009-03-16 12:22:50 +01:00
parent cf25ef9072
commit 47c18b35b0
1 changed files with 1 additions and 1 deletions

View File

@ -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: