mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-26 04:30:55 +00:00
Optimization: also don't reset shader on models
This commit is contained in:
parent
c0c095e1d1
commit
78c2928b8b
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
// -----------------+
|
||||
|
|
Loading…
Reference in a new issue