mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-16 21:57:15 +00:00
clear shaders on resetGL
This commit is contained in:
@@ -596,6 +596,10 @@ EX void resetGL() {
|
||||
if(GDIM == 3 && !floor_textures) make_floor_textures();
|
||||
#endif
|
||||
cgi.initPolyForGL();
|
||||
compiled_programs.clear();
|
||||
matched_programs.clear();
|
||||
glhr::current_glprogram = nullptr;
|
||||
ray::reset_raycaster();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user