mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Refactoring in GLTexture
This commit is contained in:
parent
84d61e28fd
commit
749bb2bfed
6 changed files with 39 additions and 162 deletions
|
@ -43,7 +43,7 @@ bool GLGizmosManager::init()
|
|||
|
||||
if (!m_background_texture.metadata.filename.empty())
|
||||
{
|
||||
if (!m_background_texture.texture.load_from_file(resources_dir() + "/icons/" + m_background_texture.metadata.filename, false, true))
|
||||
if (!m_background_texture.texture.load_from_file(resources_dir() + "/icons/" + m_background_texture.metadata.filename, false, GLTexture::SingleThreaded, false))
|
||||
{
|
||||
reset();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue