Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make glfw.Window.Hints.set public #42

Closed
wants to merge 2 commits into from
Closed

Make glfw.Window.Hints.set public #42

wants to merge 2 commits into from

Commits on Jun 16, 2024

  1. Make glfw.Window.Hints.set public

    I don't see why this is private. I would like to use it to add Graphics API specific to my default hints:
    ```zig
    const defaultHints = .{
        .visible = false,
        .resizable = false,
    };
    const graphicsApiHints = .{
        .opengl_profile = .opengl_core_profile,
        .context_version_major = 3,
        .context_version_minor = 3,
        .opengl_forward_compat = true,
    }
    defaultHints.set(); // would like to do this
    graphicsApiHints.set(); // would like to do this
    // Create window...
    ```
    terraquad authored Jun 16, 2024
    Configuration menu
    Copy the full SHA
    647b228 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Add doc comment

    terraquad authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    d2bf7a5 View commit details
    Browse the repository at this point in the history