Sign in to follow this  
RayTracer

Sprite problems

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

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