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 Oct 23, 2023
1 parent 8f6aac0 commit 669549a
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 669549a

Please sign in to comment.