[OTR] Initial support for PNG textures (#1634)

This commit is contained in:
Garrett Cox
2022-10-01 15:33:29 -05:00
committed by GitHub
parent fba4839705
commit ec88b90ed8
15 changed files with 59 additions and 327 deletions

View File

@@ -830,6 +830,8 @@ std::string ZTexture::GetBodySourceCode() const
// Please don't remove this line, unless you somehow made a way to prevent
// that warning when building the OoT repo.
sourceOutput += "\n";
} else if (Globals::Instance->buildRawTexture) {
sourceOutput += std::string(textureDataRaw.begin(), textureDataRaw.end());
}
return sourceOutput;