gallium: fix brokenb build
authorBrian <brian.paul@tungstengraphics.com>
Fri, 22 Feb 2008 15:56:55 +0000 (08:56 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 22 Feb 2008 15:56:55 +0000 (08:56 -0700)
src/gallium/drivers/softpipe/sp_texture.c

index 3d26e8c..6ba0f09 100644 (file)
@@ -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]);
       }
    }