From: Marek Olšák Date: Mon, 14 Dec 2009 04:22:36 +0000 (+0100) Subject: r300g: remove unnecessary flush in set_sampler_textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de0befc4b2e3061f865a5b39295d64a8f003e9e8;p=mesa.git r300g: remove unnecessary flush in set_sampler_textures --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index edf7114bbb5..3cfa2e63f90 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -626,8 +626,6 @@ static void r300_set_sampler_textures(struct pipe_context* pipe, return; } - r300->context.flush(&r300->context, 0, NULL); - for (i = 0; i < count; i++) { if (r300->textures[i] != (struct r300_texture*)texture[i]) { pipe_texture_reference((struct pipe_texture**)&r300->textures[i],