wined3d: Bind sampler objects to the correct texture stage.

On current hardware this generally only makes a difference for vertex
textures. This fixes a regression introduced by commit
c6232e1d11.
This commit is contained in:
Henri Verbeet 2015-04-15 11:07:11 +02:00 committed by Alexandre Julliard
parent dc53f6c2e6
commit a37099e132
1 changed files with 1 additions and 1 deletions

View File

@ -3717,7 +3717,7 @@ static void sampler(struct wined3d_context *context, const struct wined3d_state
if (sampler)
{
GL_EXTCALL(glBindSampler(sampler_idx, sampler->name));
GL_EXTCALL(glBindSampler(mapped_stage, sampler->name));
checkGLcall("glBindSampler");
}
}