Skip to content

Commit

Permalink
Add contentScale to orx-noclear's renderTarget creation (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vechro authored May 12, 2022
1 parent 53fbc47 commit 5c9865e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orx-no-clear/src/commonMain/kotlin/NoClear.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 5c9865e

Please sign in to comment.