Zebediah Figura : wined3d: Check for a valid index buffer in d3d[89]_device_DrawIndexedPrimitive().