mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
wined3d: Increment texture_idx when continuing as well.
This commit is contained in:
parent
902b2a70a8
commit
593541a50c
@ -1357,15 +1357,18 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
|
||||
|
||||
if (coordIdx > 7) {
|
||||
VTRACE(("tex: %d - Skip tex coords, as being system generated\n", textureNo));
|
||||
++texture_idx;
|
||||
continue;
|
||||
} else if (coordIdx < 0) {
|
||||
FIXME("tex: %d - Coord index %d is less than zero, expect a crash.\n", textureNo, coordIdx);
|
||||
++texture_idx;
|
||||
continue;
|
||||
}
|
||||
|
||||
ptrToCoords = (float *)(sd->u.s.texCoords[coordIdx].lpData + (SkipnStrides * sd->u.s.texCoords[coordIdx].dwStride));
|
||||
if (sd->u.s.texCoords[coordIdx].lpData == NULL) {
|
||||
TRACE("tex: %d - Skipping tex coords, as no data supplied\n", textureNo);
|
||||
++texture_idx;
|
||||
continue;
|
||||
} else {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user