dosshell / 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.

Home Page:https://gitlab.com/dosshell/gllpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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.

https://gitlab.com/dosshell/gllpp

License:MIT License


Languages

Language:C++ 99.2%Language:CMake 0.8%