af9905a891Fixed the check to reset Texture's requested levels when loading uncompressed. Fixes uncompressed images always having mipmaps.
12 anni fa
Lasse Öörni
5bc98f68d3Exposed Texture2D::Load() to Lua. Added Detach() function to SharedPtr which will safely detach the pointer without destroying the object. To only be used in scripting integration. Fixed loading of texture with compressed data first and then uncompressed.