From: Maciej Cencora Date: Sun, 1 Nov 2009 16:04:32 +0000 (+0100) Subject: r300g: add missing flush X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8592d1724d8c8fd0b36eb21f4007b52f809e062;p=mesa.git r300g: add missing flush --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 658a8cba132..bed886fad04 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -577,6 +577,8 @@ static void r300_set_sampler_textures(struct pipe_context* pipe, if (count > 8) { return; } + + r300->context.flush(&r300->context, 0, NULL); for (i = 0; i < count; i++) { if (r300->textures[i] != (struct r300_texture*)texture[i]) {