Why am I getting this : Direct3D8: (ERROR) :Streams do not have required number of ve
this is the error i get when debugging my dx8 in win2k app
Direct3D8: (ERROR) :*** Exception in d:\nt_chk\multimedia\directx\dxg\d3d8\fe\vshader.cpp Line: 596
Direct3D8: (ERROR) :Streams do not have required number of vertices
Direct3D8: (ERROR) :DrawPrimitive failed.
in the debug window.
WHY am i getting this??? This happens when I have the primitive type set to anything but D3DPT_POINTLIST works fine and dandy.
I am setting everything up perfectly but it just f''s up somewhere.
Any ideas would be appreciated!!!
KID
How many vertices are you passing to your DrawPrimitive()? For D3DPT_POINTLIST you only need to pass one vertex per primitive, while for D3DPT_LINELIST you would need 2 and 3 for D3DPT_TRIANGLELIST (and so on...)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement