1st attempt to fix opengl on ubuntu

This commit is contained in:
Enrico Turri
2018-06-27 11:31:11 +02:00
parent 645cc65d2b
commit 5c32347449
9 changed files with 154 additions and 71 deletions

View File

@@ -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);