Jump to content
  • Advertisement

Archived

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

someone2

E_INVALIDARG????? ARGHHHHHH!!!!

This topic is 5421 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Please help, Blt returns E_INVALIDARG hRet = Screen::getBackSurface()->Blt(&rc2, g_pSurface,&rcRect,flag,NULL); It is working perfectly for some images, and then does this stupid thing for some ones else.. the rectangles and the flag have no problem whatsoever... so, the problem must be witht the surface. is there a method to read the properties of the surface to know what is wrong? Thank you very much in advance.. *sob* *sob*

Share this post


Link to post
Share on other sites
Advertisement
Easiest is to install the debug DirectX runtime. This will print various warnings to debug output when something goes wrong. Comes with a control panel to control the amount of debug info, too.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!