Jump to content
  • Advertisement
Sign in to follow this  
justin12343

Release build problems

This topic is 2456 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

I'm having problems with my directx9 renderer where it it doesn't seem to render anything when the runtime option is set to the retail version. But when you set it to the debug version the program runs fine. I've read that uninitialized variables cause this but I didn't find any. There wasn't any errors in the debug output window either. Eventually I downloaded a sample from CodeSampler.com and both directx versions worked fine for each build. So there is something seriously wrong with my code. What else could be causing this?

PS
I ran the program through Pix and all the status of all the objects was "dead", but when I ran it again with the debug version every the looked ok.

Share this post


Link to post
Share on other sites
Advertisement
Do you have the debug output level set to maximum in the DirectX Control Panel (In Start Menu -> Programs -> DirectX SDK -> Tools)? Do you get any debug output from D3D at all?
I would actually expect things to work with the release runtimes and not with the debug runtimes (Which is what they're for - they're supposed to break).

Does it render anything if you use the reference rasterizer instead (D3DDEVTYPE_REF)? And if so, do you have the latest drivers for your graphics card?

Share this post


Link to post
Share on other sites
I found the bug. It was in fact a uninitialized variable causing this. I commented out some code and not the SetViewport function that was with it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!