From 5ac67f39b39aa49098ad0e270d804a2dfc5562ed Mon Sep 17 00:00:00 2001 From: vechro Date: Fri, 6 May 2022 17:16:29 +0300 Subject: [PATCH] Add contentScale to orx-noclear's renderTarget creation --- orx-no-clear/src/commonMain/kotlin/NoClear.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orx-no-clear/src/commonMain/kotlin/NoClear.kt b/orx-no-clear/src/commonMain/kotlin/NoClear.kt index 173aa5bac..16a28e348 100644 --- a/orx-no-clear/src/commonMain/kotlin/NoClear.kt +++ b/orx-no-clear/src/commonMain/kotlin/NoClear.kt @@ -26,7 +26,7 @@ class NoClear : Extension { it.detachColorAttachments() it.destroy() } - renderTarget = renderTarget(program.width, program.height) { + renderTarget = renderTarget(program.width, program.height, program.window.contentScale) { colorBuffer() depthBuffer() }