Apply gstate.getTextureDimension(level)
Add u16 getTextureDimension(int level)
Merge pull request #3691 from raven02/patch-20

Add and apply gstate.getTextureDimension(level)