Add contentScale to orx-noclear's renderTarget creation (#232)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user