wined3d: Load texture coordinates from the correct streams.
This fixes a regression introduced by commit
a2febdd200
.
This commit is contained in:
parent
87fef9fd22
commit
afd5a53bd0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue