Sign in to follow this  

Direct X 9.0 - Hooked device rendering issue

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: And here is what it looks like when injected into a different application: 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

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