mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-03 07:13:20 +00:00
prevent losing Rug texture on open/close window
This commit is contained in:
@@ -600,6 +600,10 @@ EX void resetGL() {
|
||||
matched_programs.clear();
|
||||
glhr::current_glprogram = nullptr;
|
||||
ray::reset_raycaster();
|
||||
if(rug::rugged) {
|
||||
rug::close();
|
||||
rug::reopen();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user