[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
commit ec88b90ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;