Add contentScale to orx-noclear's renderTarget creation (#232)

This commit is contained in:
Vechro
2022-05-12 11:08:06 +03:00
committed by GitHub
parent 53fbc47636
commit 5c9865ea66

View File

@@ -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()
}