StapleGL
Header-only C++20 OpenGL wrapper
Loading...
Searching...
No Matches
gl_functions.hpp
Go to the documentation of this file.
1
24#pragma once
25
26// very ungentelmanly use of C macros for debugging, close your eyes it'll be over soon
27#ifdef STAPLEGL_DEBUG
28#define STAPLEGL_STRINGIFY_DETAIL(x) #x
29#define STAPLEGL_STR(x) STAPLEGL_STRINGIFY_DETAIL(x)
30#define STAPLEGL_LINEINFO __FILE__ ":" STAPLEGL_STR(__LINE__)
31#endif // STAPLEGL_DEBUG
32
33/* REPLACE THIS INCLUDE DIRECTIVE WITH THE OPENGL FUNCTION LOADER YOU ARE CURRENTLY USING */
34#include "glad.h"
35/*----------------------------------------------------------------------------------------*/