Skip to content

Commit 9ab594d

Browse files
authoredJan 26, 2024
Update README.md
1 parent 2221cf0 commit 9ab594d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern crate glfw;
3131
use glfw::{Action, Context, Key};
3232

3333
fn main() {
34-
let mut glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();
34+
let mut glfw = glfw::init(glfw::fail_on_errors).unwrap();
3535

3636
let (mut window, events) = glfw.create_window(300, 300, "Hello this is window", glfw::WindowMode::Windowed)
3737
.expect("Failed to create GLFW window.");

0 commit comments

Comments
 (0)
Please sign in to comment.