turning eg. detailtextures on/off, changing level, doing it again at the latest at that point causes a crash.
bisect shows it was 3211faf which was unfortunately a very large commit, but it seems to be line
line 730 in ShaderProgram:
delete CurrentSpecialization;
and line 796 in ShaderProgram:
delete CurrentSpecialization;
looks like a double free. If I comment out 730 (that happens right after the call to DeleteShader(); which includes 796) the crashes go away (in this commit and in current head)
turning eg. detailtextures on/off, changing level, doing it again at the latest at that point causes a crash.
bisect shows it was 3211faf which was unfortunately a very large commit, but it seems to be line
line 730 in ShaderProgram:
delete CurrentSpecialization;
and line 796 in ShaderProgram:
delete CurrentSpecialization;
looks like a double free. If I comment out 730 (that happens right after the call to DeleteShader(); which includes 796) the crashes go away (in this commit and in current head)