mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
prevent losing Rug texture on open/close window
This commit is contained in:
parent
cf66dade1a
commit
1eb27b3393
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user