Hello.
QUADS can be drawn only with OpenGL driver. I cheked D3D driver (cpp file) and EPT_QUADS is missing from switch statement. I gues it's not supposed to be so?
A note in documentation at least. I just spent few hours debugging "my" code.
drawVertexPrimitiveList(...) and scene::EPT_QUADS
look at primitives supported by direct3d
http://msdn2.microsoft.com/en-us/library/bb172589.aspx
http://msdn2.microsoft.com/en-us/library/bb172589.aspx
Code: Select all
typedef enum D3DPRIMITIVETYPE
{
D3DPT_POINTLIST = 1,
D3DPT_LINELIST = 2,
D3DPT_LINESTRIP = 3,
D3DPT_TRIANGLELIST = 4,
D3DPT_TRIANGLESTRIP = 5,
D3DPT_TRIANGLEFAN = 6,
D3DPT_FORCE_DWORD = 0x7fffffff,
} D3DPRIMITIVETYPE, *LPD3DPRIMITIVETYPE;