Advertisement

The perils of D3DVIEWPORT7!!!!!

Started by July 21, 2000 07:10 AM
0 comments, last by Bully 24 years, 5 months ago
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
" The fastest code is the code you don't call "
isn''t it initiallized with braces (curly brackets) not parenthesis?

D3DVIEWPORT vp = {0,0,640,320,0,1};

___________________________Freeware development:ruinedsoft.com

This topic is closed to new replies.

Advertisement