mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
DynOS NPOT texture warning instead of error
This commit is contained in:
parent
c21c255241
commit
2d314c539c
1 changed files with 2 additions and 2 deletions
|
@ -489,8 +489,8 @@ bool DynOS_Tex_Get(const char* aTexName, struct TextureInfo* aOutTexInfo) {
|
|||
// texture width or height is NPOT
|
||||
if ((_Data->mRawWidth > 0 && _Data->mRawWidth & (_Data->mRawWidth - 1) == 0) ||
|
||||
(_Data->mRawHeight > 0 && _Data->mRawHeight & (_Data->mRawHeight - 1) == 0)) {
|
||||
PrintError("Attempted to load tex file with non power of two width or height: %s", aTexName);
|
||||
PrintConsole(CONSOLE_MESSAGE_ERROR, "Attempted to load tex file with non power of two width or height: %s", aTexName);
|
||||
PrintError("Tex file '%s' has non power of two width or height", aTexName);
|
||||
PrintConsole(CONSOLE_MESSAGE_WARNING, "Tex file '%s' has non power of two width or height", aTexName);
|
||||
return false;
|
||||
}
|
||||
_Data->mRawFormat = G_IM_FMT_RGBA;
|
||||
|
|
Loading…
Reference in a new issue