Skip to content

Commit

Permalink
Fix docs for glfw.Window.create
Browse files Browse the repository at this point in the history
1. There is no `version` window hints
2. How would a version window hint affect the visibility?

Jokes aside, I simply fixed the docs.
  • Loading branch information
terraquad authored and emidoots committed Jun 16, 2024
1 parent b0c1e2b commit 95bacce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Window.zig
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ pub const Hints = struct {
/// glfw.Window.setMonitor. This will not affect its OpenGL or OpenGL ES context.
///
/// By default, newly created windows use the placement recommended by the window system. To create
/// the window at a specific position, make it initially invisible using the glfw.version window
/// the window at a specific position, make it initially invisible using the `visible` window
/// hint, set its position and then show it.
///
/// As long as at least one full screen window is not iconified, the screensaver is prohibited from
Expand Down

0 comments on commit 95bacce

Please sign in to comment.