improve src/base/opengl.h

This commit is contained in:
lixianjing 2024-09-06 12:18:36 +08:00
parent 9e6798f621
commit 05aa9cef68

View File

@ -14,11 +14,7 @@
#define opengl_init()
#else
#include "glad/glad.h"
#ifdef WIN32
#define opengl_init gladLoadGL
#else
#define opengl_init()
#endif
#endif /*WITHOUT_GLAD*/
#endif/*WITH_GPU_GL*/