mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
fixed the rug becoming black on some computers when resizing window or during the start animation
This commit is contained in:
1 parent
1eb27b3393
commit
af9b049057
4 files changed
+24
-12
No files matched your search
+1
-4
@@ -600,10 +600,7 @@ EX void resetGL() {
|
||||
matched_programs.clear();
|
||||
glhr::current_glprogram = nullptr;
|
||||
ray::reset_raycaster();
|
||||
if(rug::rugged) {
|
||||
rug::close();
|
||||
rug::reopen();
|
||||
}
|
||||
if(rug::glbuf) rug::close_glbuf();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user