Skip to content

Commit

Permalink
fix: Fix generateBlankTexture not working.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayfri committed Feb 17, 2022
1 parent 69ca536 commit 3c24f68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/kotlin/pixi/externals/utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ interface Tuple<T1, T2, T3> {
operator fun component3(): T3
}

interface GenerateBlankTextureOptions {
var width: Double?
var height: Double?
var color: Color?
var resolution: Double?
class GenerateBlankTextureOptions {
var width: Double? = null
var height: Double? = null
var color: Color? = null
var resolution: Double? = null
}

fun generateBlankTexture(application: Application, options: GenerateBlankTextureOptions.() -> Unit): RenderTexture {
Expand Down

0 comments on commit 3c24f68

Please sign in to comment.