Jump to content
  • Advertisement
Sign in to follow this  
Anthonywolfe

[SlimDX] After upgrading project from MDX I'm having odd view issues

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

Hello, I just received a project from a friend that asked me to update it from Managed DirectX to SlimDX. I have managed to get it to build, run and even updated the texture loader. But I'm having a odd issue with the view I guess you would say? I'm not really sure how to explain beyond pointing out that it looks like everything gets zoomed for some reason. So I'll just post a picture.

[Before/After]

http://img.syntaxcloud.ca/images/2013/01/28/mUCBq.png

 

I would post code but I'm not sure where it's breaking and it's a rather large project. But I'll gladly post the code of specfic areas like the Drawing/Device setup if requested.

 

-Edit-

I want to note I don't beleive the issue is with the texture generation as there is no texture overlaping. So they are rendering at the correct X, Y locations just extremely zoomed in.

Edited by Anthonywolfe

Share this post


Link to post
Share on other sites
Advertisement

Oh wow, Don't I feel like a idiot. Turns out hidden away in at the bottom of a class the render area is getting resized, Just had to add a device reset in the resize event and I'm good as gold now.

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.

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!