mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
1st attempt to fix opengl on ubuntu
This commit is contained in:
parent
645cc65d2b
commit
5c32347449
9 changed files with 154 additions and 71 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue