gallium: fix brokenb build

This commit is contained in:
Brian 2008-02-22 08:56:55 -07:00
parent 0bb53709e8
commit 12c14c31b7

View 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]);
}
}