From 47c18b35b0346e6b456dae4a883fcc743811ef8e Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Mon, 16 Mar 2009 12:22:50 +0100 Subject: [PATCH] softpipe: Use p_atomic_read, not atomic_read. --- src/gallium/drivers/softpipe/sp_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index ade18b23332..48b2c22af45 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: