diff --git a/src/Window.zig b/src/Window.zig index 6a2473cc5..23a10beed 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -249,7 +249,10 @@ pub const Hints = struct { any = @bitCast(c.GLFW_ANY_POSITION), }; - fn set(hints: Hints) void { + /// **WARNING:** You should always use `glfw.Window.create` instead of this function whenever possible. Only use this if absolutely neccessary. + /// + /// Sets `hints` for the next window creation. + pub fn set(hints: Hints) void { internal_debug.assertInitialized(); inline for (comptime std.meta.fieldNames(Hint)) |field_name| { const hint_tag = @intFromEnum(@field(Hint, field_name));