[nostalgia] Setup Glad as GL loader

This commit is contained in:
2022-07-10 02:46:26 -05:00
parent e7ecb65f7a
commit c80a8838a4
3 changed files with 5 additions and 9 deletions
-8
View File
@@ -6,15 +6,7 @@
#include <ox/std/defines.hpp>
#define GL_GLEXT_PROTOTYPES 1
#ifdef OX_OS_Darwin
#ifndef GL_SILENCE_DEPRECATION
#define GL_SILENCE_DEPRECATION
#endif
#include <OpenGL/gl3.h>
#else
#include <glad/glad.h>
#endif
#include <ox/std/error.hpp>
#include <ox/std/string.hpp>