Update Kha/Backends/Kore-HL/kha/korehl/graphics4/Graphics.hx

This commit is contained in:
2026-06-10 05:55:02 +00:00
parent a8d6095204
commit 3aac63d255

View File

@ -266,7 +266,8 @@ class Graphics implements kha.graphics4.Graphics {
}
public function beginFace(face: Int): Void {
kinc_graphics_render_to_face(cast(target, Image)._renderTarget, face);
// TODO: Hashlink conflict for shadowmap atlasing needs image and probes need cubemap
kinc_graphics_render_to_face((target is CubeMap) ? cast(target, CubeMap)._renderTarget : cast(target, Image)._renderTarget, face);
}
public function beginEye(eye: Int): Void {}