Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 29 May 2008
Offline Last Active Private

Topics I've Started

Direct3D 9 and RHW vertices

29 May 2008 - 04:02 AM

I'm trying to draw a triangle inside a Direct3D9 window that belongs to another program. Athough everything seems to be ok, and all of the functions return without errors, the triangle doesn't get drawn. I'm puzzled: what could be the reason it's not getting drawn? P.S. I do the drawing by intercepting Present, and the hook is called, as is evident inside the debugger, the triangle should not be clipped since it is inside the window boundaries. Everything works fine in my test application.