clear shaders on resetGL

This commit is contained in:
Zeno Rogue
2019-10-26 17:02:20 +02:00
parent 2645eae237
commit 68c7514c2c
3 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ constexpr int aTexture = 8;
constexpr int INVERSE_EXP_BINDING = 2;
#endif
map<string, shared_ptr<glhr::GLprogram>> compiled_programs;
EX map<string, shared_ptr<glhr::GLprogram>> compiled_programs;
map<unsigned, shared_ptr<glhr::GLprogram>> matched_programs;
EX map<unsigned, shared_ptr<glhr::GLprogram>> matched_programs;
glhr::glmatrix model_orientation_gl() {
glhr::glmatrix s = glhr::id;