mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-29 15:36:34 +01:00
Use a single gl context created in c++
This commit is contained in:
1 parent
a02ea39525
commit
44220530cb
7 files changed
+42
-26
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user