Jump to content
  • Advertisement
Sign in to follow this  

Direct X 9.0 - Hooked device rendering issue

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

My project injects a dll into a running process and hooks the dx9 device so I can render images, text, and other primitives and such. This works fine when I inject the dll into a test project I made that simply sets up a device and doesn't render anything, however when the dll is injected into an application that actually does some rendering, the primitives are rendered with a weird whitish tint. I think I may not be setting a render state correctly or something before drawing the primitives, but I really don't know so I was wondering if one of you might. Here is what it should look like: http://dl.dropbox.com/u/1144403/correct.PNG And here is what it looks like when injected into a different application: http://dl.dropbox.com/u/1144403/wrong.PNG My project is going to be a simple in-game IRC client for those wondering.

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!