• Advertisement
Sign in to follow this  

StretchRect problems

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

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
Advertisement
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
Sign in to follow this  

  • Advertisement