I'm running through debugging why my game won't run now it's built for WM5. I have tested my Sprite function by adding it to the Blit sample & copying the same graphics across and they work fine there so there's no simple issue but when I draw a sprite in SPace Treker the blit fails on the line:-
The Sprite seems to have a correct surface. I can see the data in memory & it looks good as do the various variables for the sprite. At least 10 or so Blits have already happened successfully.
Any pointers to what may be happening are welcome.
- Code:
Pixel* pDest = buffer.GetPixels( destRect.left, destRect.top );
The Sprite seems to have a correct surface. I can see the data in memory & it looks good as do the various variables for the sprite. At least 10 or so Blits have already happened successfully.
Any pointers to what may be happening are welcome.