18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-24 13:09:16 +01:00

Merge branch 'master' into feat/renderers-cleanup

This commit is contained in:
2026-11-23 18:27:27 +01:00
70 changed files with 2865 additions and 378 deletions

View File

@@ -3395,6 +3395,8 @@ void opengl46_renderer::Bind_Material( material_handle const Material, TSubModel
return;
}
// the cache may have been marked stale by the python upload thread
opengl_texture::sync_unit_cache();
GLuint lastdiff = 0;
size_t i;
for (i = 0; i < gl::MAX_TEXTURES; i++)