Sign in to follow this  
Motorherp

StretchRect problems

Recommended Posts

Hi. I'm currently trying to copy a loaded texture to the backbuffer whilst strecthing it so it fits using: HRESULT StretchRect( IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestSurface, CONST RECT *pDestRect, D3DTEXTUREFILTERTYPE Filter ); I've followed the docs and made sure my texture is in a default pool and all that stuff but it just refuses to work. Is SretchRect not able to copy to the back buffer or does anyone know what else may be wrong?? Cheers

Share this post


Link to post
Share on other sites
Great smashing super. Cheers for that, I never realised you could do that debug stuff in directX. Always thought it was a bit of an oversight really. Can't give it a go now cause I'm at work but I'll have a stab at it tonight. Many thanks

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