mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 17:33:37 -05:00
GLCanvas3DManager replaced by OpenGLManager
This commit is contained in:
1 parent
0bb56736a1
commit
6f789aaee7
9 files changed
+57
-77
No files matched your search
@@ -285,17 +285,17 @@ GUI_App::~GUI_App()
|
||||
|
||||
std::string GUI_App::get_gl_info(bool format_as_html, bool extensions)
|
||||
{
|
||||
return GLCanvas3DManager::get_gl_info().to_string(format_as_html, extensions);
|
||||
return OpenGLManager::get_gl_info().to_string(format_as_html, extensions);
|
||||
}
|
||||
|
||||
wxGLContext* GUI_App::init_glcontext(wxGLCanvas& canvas)
|
||||
{
|
||||
return m_canvas_mgr.init_glcontext(canvas);
|
||||
return m_opengl_mgr.init_glcontext(canvas);
|
||||
}
|
||||
|
||||
bool GUI_App::init_opengl()
|
||||
{
|
||||
return m_canvas_mgr.init_gl();
|
||||
return m_opengl_mgr.init_gl();
|
||||
}
|
||||
|
||||
void GUI_App::init_app_config()
|
||||
@@ -322,6 +322,7 @@ void GUI_App::init_app_config()
|
||||
app_config->load();
|
||||
}
|
||||
}
|
||||
|
||||
bool GUI_App::OnInit()
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user