Skip to content

Auto detect OpenGL Major/Minor version for modern context creation #179

Description

@f1nalspace

In the current version the user are forced to set at least the major version of OpenGL, when creating a modern rendering context.

We could do better and simply detect the latest version and use that as a default, before creating the modern context. We just need to call glGetString() with GL_VERSION while having the legacy context active.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions