]> git.tdb.fi Git - libs/gl.git/commit
Remove automatic mipmap generation from the public interface of Texture
authorMikko Rasa <tdb@tdb.fi>
Thu, 16 Sep 2021 22:00:07 +0000 (01:00 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 16 Sep 2021 22:06:54 +0000 (01:06 +0300)
commit4e9fe48180c7b4646ac2591e172de61f7a693b32
treea50daf84b0a59ffe67d8148fdf7161267b4bcafc
parent7b569bbfcfb65d8d88b47ac42ee1df6a7d27e784
Remove automatic mipmap generation from the public interface of Texture

The flag is now only used in conjunction of textures loaded from
datafiles.  Mipmap generation can still be manually triggered.

This causes some lossage with the allocation flags if the texture storage
extension is not supported.  I'll likely refactor the allocation system
soon.
source/core/texture.cpp
source/core/texture.h
source/core/texture1d.cpp
source/core/texture2d.cpp
source/core/texture3d.cpp
source/core/texturecube.cpp