Move OpenGL headers from API to implementation.
We don't want to expose any OpenGL functions to client code. Because if we do, there is a chance we break client code if we switch implementation (Direct3D).
This commit is contained in:
parent
1dc0ecf563
commit
2a111a237d
13 changed files with 16 additions and 16 deletions
|
|
@ -29,7 +29,7 @@
|
|||
#define GLAD_WGL_H_
|
||||
|
||||
#include <windows.h>
|
||||
#include <Spectre/Graphics/GL/glad.h>
|
||||
#include <Graphics/GL/glad.h>
|
||||
|
||||
#define GLAD_WGL
|
||||
#define GLAD_OPTION_WGL_LOADER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue