include/Spectre/Graphics/OpenGL.h: include GLAD instead of glew.
This commit is contained in:
parent
a1804cd3df
commit
45a3362d99
1 changed files with 1 additions and 9 deletions
|
|
@ -2,14 +2,6 @@
|
||||||
#ifndef SPECTRE_OPENGL_H
|
#ifndef SPECTRE_OPENGL_H
|
||||||
#define SPECTRE_OPENGL_H
|
#define SPECTRE_OPENGL_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <Spectre/Graphics/GL/glad.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#include <Windows.h>
|
|
||||||
#endif /* !_MSC_VER */
|
|
||||||
|
|
||||||
#include "GL/glew.h"
|
|
||||||
#include "GL/wglew.h"
|
|
||||||
#endif /* !_WIN32 */
|
|
||||||
|
|
||||||
#endif /* SPECTRE_OPENGL_H */
|
#endif /* SPECTRE_OPENGL_H */
|
||||||
Loading…
Add table
Add a link
Reference in a new issue