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:
parent
e57190c095
commit
42fe7ee494
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue