mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Asynchronous texture compression on CPU
This commit is contained in:
@@ -540,6 +540,10 @@ void Bed3D::render_prusa(const std::string &key, bool bottom) const
|
||||
}
|
||||
#endif // !ENABLE_COMPRESSED_TEXTURES
|
||||
}
|
||||
#if ENABLE_COMPRESSED_TEXTURES
|
||||
else if (m_texture.unsent_compressed_data_available())
|
||||
m_texture.send_compressed_data_to_gpu();
|
||||
#endif // ENABLE_COMPRESSED_TEXTURES
|
||||
|
||||
if (!bottom)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user