mirror of
https://github.com/reactos/wine.git
synced 2025-02-20 12:50:53 +00:00
wined3d: Print an error when drawStridedSlow() is called with 0 idxSize and non-NULL idxData (CID 509).
This commit is contained in:
parent
d19bb78329
commit
d8c40f7641
@ -318,6 +318,9 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
|
||||
|
||||
if (idxSize == 2) pIdxBufS = (const WORD *) idxData;
|
||||
else pIdxBufL = (const DWORD *) idxData;
|
||||
} else if (idxData) {
|
||||
ERR("non-NULL idxData with 0 idxSize, this should never happen\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Adding the stream offset once is cheaper than doing it every iteration. Do not modify the strided data, it is a pointer
|
||||
|
Loading…
x
Reference in New Issue
Block a user