Commit afd5a53b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Load texture coordinates from the correct streams.

This fixes a regression introduced by commit a2febdd2.
parent 87fef9fd
......@@ -395,10 +395,10 @@ static void drawStridedSlow(IWineD3DDevice *iface, const WineDirect3DVertexStrid
continue;
}
if(sd->u.s.texCoords[textureNo].lpData)
if(sd->u.s.texCoords[coordIdx].lpData)
{
texCoords[textureNo] =
sd->u.s.texCoords[textureNo].lpData + streamOffset[sd->u.s.texCoords[textureNo].streamNo];
texCoords[coordIdx] =
sd->u.s.texCoords[coordIdx].lpData + streamOffset[sd->u.s.texCoords[coordIdx].streamNo];
tex_mask |= (1 << textureNo);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment