[Restart CCMD] Crash with shaders

Sat Nov 18, 2017 11:13 pm

This happens only after using the "restart" ccmd to enter any mod that has material shaders.

Crashes when first entering the level in this mod here: https://www.dropbox.com/s/veavj9nm2hlff ... 2.zip?dl=1

The crash occurs here: https://github.com/coelckers/gzdoom/blo ... e.cpp#L149 - activeShader is "0x00000000" at this point.