background() deprecated, replace with clear() (#101)
This commit is contained in:
@@ -33,7 +33,7 @@ class NoClear : Extension {
|
||||
|
||||
renderTarget?.let {
|
||||
drawer.withTarget(it) {
|
||||
background(program.backgroundColor ?: ColorRGBa.TRANSPARENT)
|
||||
clear(program.backgroundColor ?: ColorRGBa.TRANSPARENT)
|
||||
backdrop?.invoke() // draw custom backdrop
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user