Original Post
Hi all,
Trying to draw a quad using DrawIndexedPrimitive, nothing is shown on the screen, I get the following error :
''Index stream does not have required number of indices''
My quad is made from two triangles, I have 6 indices, I guess my quad has 4 vertices ?
g_pDevice->DrawIndexedPrimitive(D3DPT_TRIANGLELIST,0,0,4,0,4);
I guess the line above is wrong ?
Any help is much appreciated.
Kind regards,
Steve
As I get older, my mind becomes more cluttered.