mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
1st attempt to fix opengl on ubuntu
This commit is contained in:
@@ -43,7 +43,9 @@ class GLCanvas3DManager
|
||||
|
||||
typedef std::map<wxGLCanvas*, GLCanvas3D*> CanvasesMap;
|
||||
|
||||
wxGLContext* m_context;
|
||||
//#################################################################################################################
|
||||
// wxGLContext* m_context;
|
||||
//#################################################################################################################
|
||||
CanvasesMap m_canvases;
|
||||
wxGLCanvas* m_current;
|
||||
GLInfo m_gl_info;
|
||||
@@ -70,7 +72,9 @@ public:
|
||||
|
||||
bool init(wxGLCanvas* canvas);
|
||||
|
||||
bool set_current(wxGLCanvas* canvas, bool force);
|
||||
//#################################################################################################################
|
||||
// bool set_current(wxGLCanvas* canvas, bool force);
|
||||
//#################################################################################################################
|
||||
void set_active(wxGLCanvas* canvas, bool active);
|
||||
void set_as_dirty(wxGLCanvas* canvas);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user