mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 19:42:47 +00:00
Unique OpenGL context set as default
This commit is contained in:
@@ -51,9 +51,7 @@ class GLCanvas3DManager
|
||||
typedef std::map<wxGLCanvas*, GLCanvas3D*> CanvasesMap;
|
||||
|
||||
CanvasesMap m_canvases;
|
||||
#if ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
wxGLContext* m_context;
|
||||
#endif // ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
GLInfo m_gl_info;
|
||||
bool m_gl_initialized;
|
||||
bool m_use_legacy_opengl;
|
||||
@@ -62,9 +60,7 @@ class GLCanvas3DManager
|
||||
|
||||
public:
|
||||
GLCanvas3DManager();
|
||||
#if ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
~GLCanvas3DManager();
|
||||
#endif // ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
|
||||
bool add(wxGLCanvas* canvas);
|
||||
bool remove(wxGLCanvas* canvas);
|
||||
|
||||
Reference in New Issue
Block a user