mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-29 15:42:28 +00:00
b88b99fadb
The assertion that triggered was "assert(iconvDesc == (SDL_iconv_t)-1);" in Sys_InitInput() - because when loading a mod the window is recreated, calling Com_ReloadEngine_f() -> idCommonLocal::InitGame() -> idCommonLocal::InitRenderSystem() -> idCommonLocal::InitOpenGL() -> R_InitOpenGL() -> Sys_InitInput() Before that Com_ReloadEngine_f() calls commonLocal.ShutdownGame( true ); which calls the equivalent Shutdown() functions - except so far no one called Sys_ShutdownInput() (which closes iconvDesc and resets it to -1). Fixed that by making idRenderSystemLocal::ShutdownOpenGL() call it. |
||
---|---|---|
.. | ||
cm | ||
d3xp | ||
framework | ||
game | ||
idlib | ||
MayaImport | ||
renderer | ||
sound | ||
sys | ||
tools | ||
TypeInfo | ||
ui | ||
CMakeLists.txt | ||
config.h.in | ||
mmakefile.src |