glfw: Update readme to reflect changes made to glfw.init
This commit is contained in:
parent
82c5079d1d
commit
ec9e770673
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ Now in your code you may import and use GLFW:
|
|||
const glfw = @import("glfw");
|
||||
|
||||
pub fn main() !void {
|
||||
try glfw.init();
|
||||
try glfw.init(.{});
|
||||
defer glfw.terminate();
|
||||
|
||||
// Create our window
|
||||
|
|
Loading…
Add table
Reference in a new issue