Corrected docs in glfw.Window

In the doc comments of `glfw.Window.create`, you refer to the function `glfw.Winodw.makeContextCurrent`, which doesn't exist. What does exist, though, is `glfw.makeContextCurrent`, so I've fixed that.
This commit is contained in:
terraquad 2024-05-04 19:52:23 +02:00 committed by Stephen Gutekanst
parent e57190c095
commit 42fe7ee494

View file

@ -282,7 +282,7 @@ pub const Hints = struct {
/// hints using `glfw.Window.hint`. /// hints using `glfw.Window.hint`.
/// ///
/// Successful creation does not change which context is current. Before you can use the newly /// Successful creation does not change which context is current. Before you can use the newly
/// created context, you need to make it current using `glfw.Window.makeContextCurrent`. For /// created context, you need to make it current using `glfw.makeContextCurrent`. For
/// information about the `share` parameter, see context_sharing. /// information about the `share` parameter, see context_sharing.
/// ///
/// The created window, framebuffer and context may differ from what you requested, as not all /// The created window, framebuffer and context may differ from what you requested, as not all