mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-22 05:59:12 -07:00
3rd attempt to fix opengl on ubuntu
This commit is contained in:
@@ -251,15 +251,15 @@ bool GLCanvas3DManager::init(wxGLCanvas* canvas)
|
||||
// m_current = nullptr;
|
||||
// return false;
|
||||
//}
|
||||
//
|
||||
//void GLCanvas3DManager::set_active(wxGLCanvas* canvas, bool active)
|
||||
//{
|
||||
// CanvasesMap::iterator it = _get_canvas(canvas);
|
||||
// if (it != m_canvases.end())
|
||||
// it->second->set_active(active);
|
||||
//}
|
||||
//#################################################################################################################
|
||||
|
||||
void GLCanvas3DManager::set_active(wxGLCanvas* canvas, bool active)
|
||||
{
|
||||
CanvasesMap::iterator it = _get_canvas(canvas);
|
||||
if (it != m_canvases.end())
|
||||
it->second->set_active(active);
|
||||
}
|
||||
|
||||
void GLCanvas3DManager::set_as_dirty(wxGLCanvas* canvas)
|
||||
{
|
||||
CanvasesMap::iterator it = _get_canvas(canvas);
|
||||
|
||||
Reference in New Issue
Block a user