mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06: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:
parent
c6604ff55d
commit
0de566e2a2
5 changed files with 22 additions and 6 deletions
|
@ -91,6 +91,7 @@ public:
|
|||
void init_gl();
|
||||
|
||||
bool init(wxGLCanvas* canvas);
|
||||
void destroy();
|
||||
|
||||
GLCanvas3D* get_canvas(wxGLCanvas* canvas);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue