Update PreStitchedTextureMap.cpp

This commit is contained in:
Tuff CWC 2026-03-07 23:37:01 +01:00 committed by GitHub
parent 196fffd59b
commit 26fa85f180
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -246,7 +246,6 @@ StitchedTexture *PreStitchedTextureMap::getTexture(const wstring &name)
{ {
#ifndef _CONTENT_PACKAGE #ifndef _CONTENT_PACKAGE
app.DebugPrintf("Not implemented!\n"); app.DebugPrintf("Not implemented!\n");
__debugbreak();
#endif #endif
return NULL; return NULL;
#if 0 #if 0
@ -277,7 +276,7 @@ Icon *PreStitchedTextureMap::registerIcon(const wstring &name)
{ {
app.DebugPrintf("Don't register NULL\n"); app.DebugPrintf("Don't register NULL\n");
#ifndef _CONTENT_PACKAGE #ifndef _CONTENT_PACKAGE
__debugbreak(); app.DebugPrintf("Stub!")
#endif #endif
result = missingPosition; result = missingPosition;
//new RuntimeException("Don't register null!").printStackTrace(); //new RuntimeException("Don't register null!").printStackTrace();
@ -290,7 +289,7 @@ Icon *PreStitchedTextureMap::registerIcon(const wstring &name)
{ {
#ifndef _CONTENT_PACKAGE #ifndef _CONTENT_PACKAGE
app.DebugPrintf("Could not find uv data for icon %ls\n", name.c_str() ); app.DebugPrintf("Could not find uv data for icon %ls\n", name.c_str() );
__debugbreak(); app.DebugPrintf("Stub!")
#endif #endif
result = missingPosition; result = missingPosition;
} }