Load OpenGL through SDL instead of glad
gl.h lists the 62 functions the editor calls, loaded with SDL_GL_GetProcAddress into gl, as in smack-a-brother. The 25k lines of glad and KHR headers are gone.
This commit is contained in:
1 parent
7e81ea4259
commit
6f2fc8c196
18 files changed
+254
-25290
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <glad/glad.h>
|
||||
#include "gl.h"
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include <array>
|
||||
|
||||
Reference in new issue
Block a user