summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-02-20 22:25:18 +0100
committerJosé Fonseca <[email protected]>2008-02-23 00:51:19 +0900
commite0de82fbcb181f5c3e372ed66b692970a9e80766 (patch)
tree4bfdd5faae4547d3c775d19d665afd048a8e0df1 /src/gallium
parent57060bc1fa82e4e93d2affafecd98219be2f991f (diff)
gallium: Fix build on Windows.
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 6ba0f09e0a1..3d26e8ca669 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] == texture) {
+ if (&softpipe->texture[unit]->base == texture) {
sp_flush_tile_cache(softpipe, softpipe->tex_cache[unit]);
}
}