Fix depth attach on metal

This commit is contained in:
luboslenco
2022-12-16 18:22:09 +01:00
parent 4c16632966
commit 09d779603b
+6
View File
@@ -555,6 +555,12 @@ class RenderPathDeferred {
t.scale = Inc.getSuperSampling();
path.createRenderTarget(t);
}
#if kha_metal
// TODO: Fix depth attach for gbuffer0_copy on metal
// Use resize to re-create buffers from scratch for now
path.resize();
#end
}
}