dhewm3/neo
Daniel Gibson b88b99fadb Fix assertion when switching to mod via menu, #458
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.
2022-05-24 03:33:13 +02:00
..
cm Work around assertion in alphalabs4, fix #409 2022-05-16 05:43:47 +02:00
d3xp Add some missing newlines and fix typo in changelog 2022-05-21 06:30:54 +02:00
framework Update version to 1.5.2rc1 2022-05-16 17:44:15 +02:00
game Add some missing newlines and fix typo in changelog 2022-05-21 06:30:54 +02:00
idlib Add D3_(v)snprintfC99() for C99-compatible implementations 2022-01-10 04:06:54 +01:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Fix assertion when switching to mod via menu, #458 2022-05-24 03:33:13 +02:00
sound Update stb_vorbis to v1.22 and stb_image to v2.27 2021-10-31 06:14:59 +01:00
sys Make window alpha chan opaque on Wayland, fix #426 2022-02-05 16:34:34 +01:00
tools Fix running script debugger if fs_basepath is used 2022-05-18 04:22:25 +02:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
CMakeLists.txt Work around assertion in alphalabs4, fix #409 2022-05-16 05:43:47 +02:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00