mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 19:42:47 +00:00
Hopefully a workaround for crashes and hang ups at closing on Windows.
Release the OpenGL contexts not by a destructor of a static class, but explicitely (predictively).
This commit is contained in:
@@ -91,6 +91,7 @@ public:
|
||||
void init_gl();
|
||||
|
||||
bool init(wxGLCanvas* canvas);
|
||||
void destroy();
|
||||
|
||||
GLCanvas3D* get_canvas(wxGLCanvas* canvas);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user