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

@ -444,12 +444,18 @@ private:
PerlCallback m_on_gizmo_scale_uniformly_callback;
public:
GLCanvas3D(wxGLCanvas* canvas, wxGLContext* context);
//#################################################################################################################
GLCanvas3D(wxGLCanvas* canvas);
// GLCanvas3D(wxGLCanvas* canvas, wxGLContext* context);
//#################################################################################################################
~GLCanvas3D();
bool init(bool useVBOs, bool use_legacy_opengl);
bool set_current(bool force);
//#################################################################################################################
bool set_current();
// bool set_current(bool force);
//#################################################################################################################
void set_active(bool active);
void set_as_dirty();