]> git.tdb.fi Git - libs/gl.git/commit
Tweak some texture allocation checks
authorMikko Rasa <tdb@tdb.fi>
Mon, 13 Sep 2021 16:59:07 +0000 (19:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 13 Sep 2021 17:02:21 +0000 (20:02 +0300)
commita0538cdd026622f7f0f3e2ac1f9c2bd54c4a6014
treef5cebb18922db32e3a29a90941661d54bdb70332
parent5f3e285643c87af749478bcf928aea04219698c6
Tweak some texture allocation checks

Sub_image calls allocate_ internally, so it should avoid doing
unnecessary work.
source/core/texture3d.cpp
source/core/texturecube.cpp