This topic is now archived and is closed to further replies.


The perils of D3DVIEWPORT7!!!!!

Recommended Posts

I get this error..... ''initializing'' : cannot convert from ''const float'' to ''struct _D3DVIEWPORT7'' No constructor could take the source type, or constructor overload resolution was ambiguous when I set my viewport like so D3DVIEWPORT7 vp = (0,0,640,480,0.0f,1.0f); I have defined.. #define D3D_OVERLOADS Can someone please help me. Thanks -David

Share this post

Link to post
Share on other sites