Skip to main content
GameDev.net gamedev.net
🔒 Locked

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

Started by Anthonywolfe Jan 29, 2013 at 2:29 AM 0 replies 1.1k views
Original Post
Anthonywolfe
Anthonywolfe

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.

Anthonywolfe
Anthonywolfe

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.