StretchRect problems

Started by
1 comment, last by Motorherp 19 years, 2 months ago
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
[size="1"] [size="4"]:: SHMUP-DEV ::
Advertisement
Have you read the section on Debugging D3D apps in the Forum FAQ?
Stay Casual,KenDrunken Hyena
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
[size="1"] [size="4"]:: SHMUP-DEV ::

This topic is closed to new replies.

Advertisement