mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Unique OpenGL context set as default
This commit is contained in:
parent
a8d407b27e
commit
cceff0c519
5 changed files with 0 additions and 96 deletions
|
@ -894,9 +894,7 @@ public:
|
|||
GLCanvas3D(wxGLCanvas* canvas);
|
||||
~GLCanvas3D();
|
||||
|
||||
#if ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
void set_context(wxGLContext* context) { m_context = context; }
|
||||
#endif // ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
|
||||
wxGLCanvas* get_wxglcanvas() { return m_canvas; }
|
||||
|
||||
|
@ -905,10 +903,6 @@ public:
|
|||
bool init(bool useVBOs, bool use_legacy_opengl);
|
||||
void post_event(wxEvent &&event);
|
||||
|
||||
#if !ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
bool set_current();
|
||||
#endif // !ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
|
||||
void set_as_dirty();
|
||||
|
||||
unsigned int get_volumes_count() const;
|
||||
|
@ -1047,9 +1041,7 @@ private:
|
|||
|
||||
bool _init_toolbar();
|
||||
|
||||
#if ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
bool _set_current();
|
||||
#endif // ENABLE_USE_UNIQUE_GLCONTEXT
|
||||
void _resize(unsigned int w, unsigned int h);
|
||||
|
||||
BoundingBoxf3 _max_bounding_box() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue