fixing things

This commit is contained in:
Kbz-8
2025-01-07 01:20:26 +01:00
parent aa345c7e38
commit 54b45824b3
21 changed files with 242 additions and 199 deletions

View File

@@ -100,9 +100,9 @@ namespace mlx
for(auto& drawable : drawables)
{
// Check every textures and update modified ones to GPU before starting the render pass
drawable->Update(cmd);
if(!drawable->IsSetInit())
drawable->UpdateDescriptorSet(p_texture_set);
drawable->Update(cmd);
}
m_pipeline.BindPipeline(cmd, 0, {});