This one is immediately obvious. Run "gl_rendermode 4" after using "-glversion 2" at the command prompt will crash GZDoom every single time.
I discovered this while trying to test this commit: Pull #464
I cleaned my master in order to confirm that the problem wasn't my work.
The crash occurs in gl_drawinfo.cpp line 905 when attempting to access the walls[] array (*walls == NULL).
(_mental_ discovered below that it requires dynamic lights to reproduce this crash - can easily load with lights.pk3)
[g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorting
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti
It doesn't crash for me. Switching render modes with -glversion 2 works fine, no matter what initial mode was.
Is it some particular IWAD+PWAD combination?
EDIT: Managed to reproduce it with Castlevania after entering the first door on MAP01.
Is it some particular IWAD+PWAD combination?
EDIT: Managed to reproduce it with Castlevania after entering the first door on MAP01.
Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti
I managed to get it to crash on Ultimate Doom E1M1.
Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti
I see, it needs dynamic lights in order to reproduce but I didn't have lights.pk3 loaded.
Re: [g3.4pre-240-g7a11be861] Legacy GL crashes on wall sorti
Thanks - edited that into my OP.