16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 22:39:18 +02:00

option for uploading python textures in main thread

This commit is contained in:
milek7
2018-11-04 16:59:32 +01:00
parent d052e8e82d
commit 15d32094ea
5 changed files with 97 additions and 48 deletions

View File

@@ -152,6 +152,10 @@ eu07_application::run() {
if (!m_modes[ m_modestack.top() ]->update())
break;
m_taskqueue.update();
opengl_texture::reset_unit_cache();
if (!GfxRenderer.Render())
break;