summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-03-16 12:22:50 +0100
committerMichal Krol <michal@vmware.com>2009-03-16 12:22:50 +0100
commit47c18b35b0346e6b456dae4a883fcc743811ef8e (patch)
treebccec79fc902fe1574befcfa33a84ed90cedc8ef /src
parentcf25ef9072f5290d228a381727c4ff921b0c60d6 (diff)
softpipe: Use p_atomic_read, not atomic_read.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c
index ade18b2333..48b2c22af4 100644
--- a/src/gallium/drivers/softpipe/sp_texture.c
+++ b/src/gallium/drivers/softpipe/sp_texture.c
@@ -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: