mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Use a single gl context created in c++
This commit is contained in:
parent
a02ea39525
commit
44220530cb
7 changed files with 42 additions and 26 deletions
|
@ -1773,10 +1773,10 @@ bool _3DScene::use_VBOs()
|
|||
return s_canvas_mgr.use_VBOs();
|
||||
}
|
||||
|
||||
bool _3DScene::add_canvas(wxGLCanvas* canvas, wxGLContext* context)
|
||||
bool _3DScene::add_canvas(wxGLCanvas* canvas)
|
||||
{
|
||||
std::cout << "_3DScene::add_canvas()" << std::endl;
|
||||
return s_canvas_mgr.add(canvas, context);
|
||||
return s_canvas_mgr.add(canvas);
|
||||
}
|
||||
|
||||
bool _3DScene::remove_canvas(wxGLCanvas* canvas)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue