]> git.tdb.fi Git - libs/gl.git/commit
Refactor get_level_size in various texture classes
authorMikko Rasa <tdb@tdb.fi>
Fri, 13 Aug 2021 09:59:20 +0000 (12:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 13 Aug 2021 10:27:18 +0000 (13:27 +0300)
commit2b7f8e45e75bec30c1ea27fc0efd8286f67adc3f
treeb7ac510b6d8a423da35ebc88be7efb4095e95215
parentaff68a183a4b33653750acc57a021fd7ed6c555c
Refactor get_level_size in various texture classes

Also add a few argument validity checks to functions
source/core/texture1d.cpp
source/core/texture2d.cpp
source/core/texture2d.h
source/core/texture2darray.cpp
source/core/texture3d.cpp
source/core/texture3d.h
source/core/texturecube.cpp