Skip to content

Commit

Permalink
SceneryBase: Create renderer per default in init() unless overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
skalarproduktraum committed Feb 19, 2024
1 parent 25f9743 commit 3a850b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/graphics/scenery/SceneryBase.kt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ open class SceneryBase @JvmOverloads constructor(var applicationName: String,
* e.g. for [Scene] construction and [Renderer] initialisation.
*/
open fun init() {

renderer = hub.add(Renderer.createRenderer(hub, applicationName, scene, windowWidth, windowHeight))
}

/**
Expand Down

0 comments on commit 3a850b0

Please sign in to comment.