mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 14:13:45 -04:00
handle texture of 0 in extract_tie (#2911)
Fixes texture difference shown in issue https://github.com/open-goal/jak-project/issues/2908
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
|
||||
namespace decompiler {
|
||||
|
||||
TextureDB::TextureDB() {
|
||||
std::vector<u32> data(16 * 16, 0xffffffff);
|
||||
add_texture(kPlaceholderWhiteTexturePage, kPlaceholderWhiteTextureId, data, 16, 16,
|
||||
"placeholder-white", "placeholder", {}, 1, 0);
|
||||
}
|
||||
|
||||
void TextureDB::add_texture(u32 tpage,
|
||||
u32 texid,
|
||||
const std::vector<u32>& data,
|
||||
|
||||
Reference in New Issue
Block a user