summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-22 08:56:55 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-22 08:56:55 -0700
commit12c14c31b71d4bac494c4470a34e28ec66309254 (patch)
tree36fe86cef07032a79c5b3e211d291eb73f6a4dc8 /src/gallium
parent0bb53709e837ac709f31ace8852599e885f4d090 (diff)
gallium: fix brokenb build
Diffstat (limited to 'src/gallium')
-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 3d26e8ca66..6ba0f09e0a 100644
--- a/src/gallium/drivers/softpipe/sp_texture.c
+++ b/src/gallium/drivers/softpipe/sp_texture.c
@@ -139,7 +139,7 @@ softpipe_texture_update(struct pipe_context *pipe,
struct softpipe_context *softpipe = softpipe_context(pipe);
uint unit;
for (unit = 0; unit < PIPE_MAX_SAMPLERS; unit++) {
- if (&softpipe->texture[unit]->base == texture) {
+ if (softpipe->texture[unit] == texture) {
sp_flush_tile_cache(softpipe, softpipe->tex_cache[unit]);
}
}