Optimization: also don't reset shader on models

This commit is contained in:
Hannu Hanhi 2020-04-19 01:55:27 +03:00
parent c0c095e1d1
commit 78c2928b8b

View file

@ -2856,10 +2856,6 @@ static void DrawModelEx(model_t *model, INT32 frameIndex, INT32 duration, INT32
pglShadeModel(GL_FLAT);
}
#endif
#ifdef GL_SHADERS
pglUseProgram(0);
#endif
}
// -----------------+