glfw: Update readme to reflect changes made to glfw.init

This commit is contained in:
InKryption 2021-11-10 11:39:13 +01:00 committed by Stephen Gutekanst
parent 82c5079d1d
commit ec9e770673

View file

@ -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