From 2d314c539c83d7ba8baba811b3db3187a7eabbc0 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sat, 11 May 2024 17:52:42 -0400 Subject: [PATCH] DynOS NPOT texture warning instead of error --- data/dynos_mgr_tex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/dynos_mgr_tex.cpp b/data/dynos_mgr_tex.cpp index f07f922a..a8b0d432 100644 --- a/data/dynos_mgr_tex.cpp +++ b/data/dynos_mgr_tex.cpp @@ -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;