File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,18 +105,18 @@ configuration of a ViewPort from the config.exs file...
105
105
import Config
106
106
107
107
# Configure the main viewport for the Scenic application
108
- config :my_app, :viewport, %{
108
+ config :my_app, :viewport, [
109
109
name: :main_viewport,
110
110
size: {700, 600},
111
111
default_scene: {MyApp.Scene.Example, :scene_init_data},
112
112
drivers: [
113
- %{
114
- module: Scenic.Driver.Glfw ,
115
- name: :glfw ,
113
+ [
114
+ module: Scenic.Driver.Local ,
115
+ name: :local ,
116
116
opts: [resizeable: false, title: "Example Application"],
117
- }
117
+ ]
118
118
]
119
- }
119
+ ]
120
120
121
121
The line ` default_scene: {MyApp.Scene.Example, :scene_init_data} `
122
122
configures the ViewPort to always start the scene defined by the
You can’t perform that action at this time.
0 commit comments