Changed texture parameter
Mipmap generation
Improved resource manager