i can't find it
info.h, and info.w are for the current height width
how about the original sprites height, and width
Develop games in your browser. Powerful, performant & highly capable.
Based on a quick walk through the sprite object source code, it looks like these return what you want:
curTexture is allowed to be NULL, so make sure you check that first.