wined3d: Print an error when drawStridedSlowVs() is called with 0 idxSize and non-NULL idxData (LLVM/Clang).
This commit is contained in:
parent
c090471a49
commit
6e1b7333e6
|
@ -619,6 +619,9 @@ static void drawStridedSlowVs(IWineD3DDevice *iface, WineDirect3DVertexStridedDa
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
/* Start drawing in GL */
|
||||
|
|
Loading…
Reference in New Issue