Sprite problems

Started by
1 comment, last by Armadon 18 years ago
I'm trying to render sprites using LPD3DXSPRITE .The problem is that the system draws the sprites larger than they really are.It isn't scale related.The texture is larger than it should be ,it doesn't fit in the sourceRect (initialised correctly) .Don't know what to do ,please help .Thanks
Best Regards,Radu
Advertisement
Are your sprite image dimensions powers of 2?
I agree with load_bitmap_file,
Make sure that your device supports non-power of 2 textures or you could make sure that your texture is a power of 2 texture.

I hope this helps.
Take care.

This topic is closed to new replies.

Advertisement