glfw: Update readme to reflect changes made to glfw.init
This commit is contained in:
parent
f00367e696
commit
220c285798
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
Add a link
Reference in a new issue