diff --git a/Kha/Backends/Kore-HL/kha/korehl/graphics4/Graphics.hx b/Kha/Backends/Kore-HL/kha/korehl/graphics4/Graphics.hx index b651bff5..bc10fe54 100644 --- a/Kha/Backends/Kore-HL/kha/korehl/graphics4/Graphics.hx +++ b/Kha/Backends/Kore-HL/kha/korehl/graphics4/Graphics.hx @@ -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 {}