Add contentScale to orx-noclear's renderTarget creation (#232)
This commit is contained in:
@@ -26,7 +26,7 @@ class NoClear : Extension {
|
|||||||
it.detachColorAttachments()
|
it.detachColorAttachments()
|
||||||
it.destroy()
|
it.destroy()
|
||||||
}
|
}
|
||||||
renderTarget = renderTarget(program.width, program.height) {
|
renderTarget = renderTarget(program.width, program.height, program.window.contentScale) {
|
||||||
colorBuffer()
|
colorBuffer()
|
||||||
depthBuffer()
|
depthBuffer()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user