Skip to content

Commit 44c6fd4

Browse files
authored
Pass Config::default() to initializers in examples (#49)
1 parent 86786d4 commit 44c6fd4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/animated_mesh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020

2121
fn sketch() -> error::Result<()> {
2222
let mut glfw_ctx = GlfwContext::new(600, 600)?;
23-
init()?;
23+
init(Config::default())?;
2424

2525
let width = 600;
2626
let height = 600;

examples/box.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() {
1919

2020
fn sketch() -> error::Result<()> {
2121
let mut glfw_ctx = GlfwContext::new(400, 400)?;
22-
init()?;
22+
init(Config::default())?;
2323

2424
let width = 400;
2525
let height = 400;

examples/custom_attribute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020

2121
fn sketch() -> error::Result<()> {
2222
let mut glfw_ctx = GlfwContext::new(600, 600)?;
23-
init()?;
23+
init(Config::default())?;
2424

2525
let width = 600;
2626
let height = 600;

0 commit comments

Comments
 (0)