Sign in to follow this  

Direct X 9.0 - Hooked device rendering issue

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

This topic is 2836 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this