mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i915: Fix for wrong texture in texobj with VBUF
This commit is contained in:
parent
d712eea074
commit
cefa367b5d
1 changed files with 3 additions and 0 deletions
|
|
@ -549,6 +549,9 @@ static void i915_set_sampler_textures(struct pipe_context *pipe,
|
|||
!memcmp(i915->texture, texture, num * sizeof(struct pipe_texture *)))
|
||||
return;
|
||||
|
||||
/* Fixes wrong texture in texobj with VBUF */
|
||||
draw_flush(i915->draw);
|
||||
|
||||
for (i = 0; i < num; i++)
|
||||
pipe_texture_reference((struct pipe_texture **) &i915->texture[i],
|
||||
texture[i]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue