txd.img bug

This commit is contained in:
aap committed 2020-08-19 16:54:09 +02:00
1 parent 76fe1247c8
commit c2e20070ab
2 files changed
+6

No files matched your search

+1
View File
@@ -525,6 +525,7 @@ SetTxdFindCallback(void)
CTxdStore::AddRef(slot);
// TODO: function for this
genericTxd = CTxdStore::GetSlot(slot)->texDict;
assert(genericTxd);
if(defaultFindCB == nil)
defaultFindCB = rw::Texture::findCB;
rw::Texture::findCB = customFindCB;