CodyNinja1
CodyNinja1
Reproduction steps: 1. Launch game in fullscreen in any resolution 2. Change resolution ingame to something different 3. Apply 4.
``` --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Assertion failed! Program: ...ie\2.0.0-luaenginealpha-rcone\TwinkieModloader.dll File: F:\Repos\Twinkie\Twinkie\imgui-dx9\imgui_draw.cpp Line: 681 Expression: tex_ref._TexData->WantDestroyNextFrame == false For information on how your program can cause an assertion...
## TODO (from most viable to least) - Make installer use Registry Keys to know where TMLoader is
Seems like the game uses a function called `CVisionViewportDx9::SetShaderForced(this, ShaderPtr)` (TmForever.exe+5a0430), where if you set the ShaderPtr to `NULL`, the shader will be forcibly removed. Maybe hooking this function somehow...
Would be nice to avoid repetition when making code, while also removing useless function calls.