/gllpp

OpenGL Loader for Windows with proper enum types for better linting. This is a mirror of https://gitlab.com/dosshell/gllpp. Please use GitLab for issues and MR.

Primary LanguageC++MIT LicenseMIT

GLLpp

Header-only C++17 OpenGL Loader for Windows with enum types.

#include "gllpp.hpp"

int main(int argc, const char* argv[])
{
    // Create and activate OpenGL context here
    ...
    glInit(); // Bind OpenGL functions
    ...
    GLerror err = glGetError(); // The debugger can with GLL++ interpret it as "GL_INVALID_ENUM" instead of the value 1280.

You currently need to append gllpp.hpp manually if your function is not present. You can also remove binds that your are not using.