fixed the rug becoming black on some computers when resizing window or during the start animation

This commit is contained in:
Zeno Rogue committed 2019-11-03 15:52:19 +01:00
1 parent 1eb27b3393
commit af9b049057
4 files changed
+24 -12

No files matched your search

+1 -4
View File
@@ -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