Closed alexey-lysiuk closed 8 years ago
With config.cfg OS X build of Doom64EX crashes for me at startup with the following call stack:
config.cfg
libGL.dylib`glTexEnvi + 20 doom64ex`GL_SetColorScale + 135 at gl_main.c:359 doom64ex`CvarCmd_r_colorscale(cvar=...) + 17 at r_main.c:97 doom64ex`CON_CvarSet(var_name="r_colorscale", value="0") + 229 at con_cvar.c:177 doom64ex`CMD_Seta(data=0, param=...) + 70 at g_game.c:284 doom64ex`DoRunActions(al=..., free=1) + 193 at g_actions.c:243 doom64ex`G_ExecuteCommand(action="seta \"r_colorscale\" \"0\"") + 39 at g_actions.c:532 doom64ex`G_ExecuteMultipleCommands(data=...) + 295 at g_settings.c:81 doom64ex`G_ExecuteFile(name=...) + 350 at g_settings.c:123 doom64ex`G_LoadSettings + 139 at g_settings.c:141 doom64ex`M_LoadDefaults + 9 at m_misc.c:282 doom64ex`D_DoomMain + 98 at d_main.c:982 doom64ex`main(argc=1, argv=...) + 89 at i_main.c:537 doom64ex`start + 52
The reason of the crash is a lack of OpenGL context (which is created later I think).
Yep. The latest commit should hopefully fix it.
I can't confirm since my drivers lets me set values before I have a context. But it's obviously incorrect behaviour.
Assuming this is fixed. Closing.
With
config.cfg
OS X build of Doom64EX crashes for me at startup with the following call stack:The reason of the crash is a lack of OpenGL context (which is created later I think).