]> git.tdb.fi Git - libs/gl.git/commit
Unmanage texture if loading data directly
authorMikko Rasa <tdb@tdb.fi>
Sat, 17 Apr 2021 22:05:20 +0000 (01:05 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 17 Apr 2021 22:10:56 +0000 (01:10 +0300)
commit412996297a287c9e97a7207458877c0ab07cc8b6
tree66c132d36a90b03ea70a0ce50654d7f6c3008071
parent2e7f0e8b226fdeea3306e2e0eef22a8f200ae16b
Unmanage texture if loading data directly

Otherwise the resource manager won't have a load location for the texture
and will throw an exception.

Also generate ID if it hasn't been done yet.
source/core/texture.cpp
source/core/texture2d.cpp