mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 22:16:32 +01:00
Refactoring in GLTexture
This commit is contained in:
1 parent
84d61e28fd
commit
749bb2bfed
6 files changed
+39
-162
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user