From: Brian Date: Fri, 22 Feb 2008 15:56:55 +0000 (-0700) Subject: gallium: fix brokenb build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12c14c31b71d4bac494c4470a34e28ec66309254;p=mesa.git gallium: fix brokenb build --- diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index 3d26e8ca669..6ba0f09e0a1 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]); } }