here this one works correctly:
[pascal] g_pd3dDevice.DrawIndexedPrimitive(D3DPT_TRIANGLELI ST, 0, 3, 0, 1);
[/pascal]
If i try to use:
[pascal] g_pd3dDevice.DrawIndexedPrimitive(D3DPT_TRIANGLELI ST, 0, 3, 0, (2));
[/pascal]
- DirectX debug runtime complains:
ODS: Direct3D8: (ERROR) :Index stream does not have required number of indices. DrawIndexedPrimitive failed.
Process Vertices.exe (2504)
-------
WinXP SP2, DX9.0c, GF6600.