]> git.tdb.fi Git - libs/gl.git/commit
Deprecate the mipmap_levels parameter in Texture
authorMikko Rasa <tdb@tdb.fi>
Sat, 30 Jan 2021 17:57:58 +0000 (19:57 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 31 Jan 2021 00:26:45 +0000 (02:26 +0200)
commitaead6d04308d7873dc99aa4572ce1590a89ebcbd
treefc1919936db2da5637449e1ea1a84f758ee75d2b
parent344dd6a52b55d847f3346e94ec266a8864764b9d
Deprecate the mipmap_levels parameter in Texture

Instead specify the desired amount of mipmap levels when loading an
image.  This can be more robustly checked against the defined storage.
source/texture.cpp
source/texture.h
source/texture1d.cpp
source/texture1d.h
source/texture2d.cpp
source/texture2d.h
source/texture3d.cpp
source/texture3d.h
source/texturecube.cpp
source/texturecube.h