// the find
TheCherno/OpenGL
OpenGL support library so you can just dive in and write OpenGL code
A companion repo for TheCherno's OpenGL YouTube series — a minimal C++ framework that wraps GLFW, Glad, ImGui, and spdlog so you can jump straight to writing OpenGL code without the window/context boilerplate. It's a learning sandbox, not a production library.
The layer stack pattern is clean and gives you a decent mental model for how real engines separate concerns. ImGui is wired up out of the box, which removes the most annoying setup step when debugging visuals. The debug utilities (OpenGLDebug.cpp) wrap glDebugMessageCallback properly, which beginners almost always skip. Premake as the build system is a reasonable choice for a C++ tutorial project — easier to read than CMake.
Abandoned since April 2022 and explicitly Windows-only with no sign the promised Mac/Linux support is coming. The pre-built Glad .lib checked into the repo means you can't retarget to a different GL version without regenerating it yourself. Only an orthographic camera is included — anyone expecting to follow along with 3D tutorials will hit a wall immediately. It's also a strict subset of Hazel (Cherno's main engine project), so you're learning a stripped-down architecture that diverges from the more complete version.