Texture init now only creates required number of mipmap levels.
Merge pull request #34 from unit3/master

Texture init now only creates required number of mipmap levels.