- track level start time for the shader system, reset the shaders.

This commit is contained in:
Rachael Alexanderson 2017-11-15 11:06:21 -05:00
commit ab32cb4c88
4 changed files with 7 additions and 2 deletions

View file

@ -3627,6 +3627,8 @@ void P_SetupLevel (const char *lumpname, int position)
bool buildmap;
const int *oldvertextable = NULL;
level.ShaderStartTime = I_msTime(); // indicate to the shader system that the level just started
// This is motivated as follows:
bool RequireGLNodes = Renderer->RequireGLNodes() || am_textured;