mirror of
https://github.com/Relintai/sfw.git
synced 2025-01-09 21:19:36 +01:00
19 lines
324 B
C
19 lines
324 B
C
|
#ifndef OPENGL_H
|
||
|
#define OPENGL_H
|
||
|
|
||
|
#if defined(__unix__) && !defined(__ANDROID__)
|
||
|
#define GL_GLEXT_PROTOTYPES
|
||
|
#include <GL/gl.h>
|
||
|
#endif // __unix__
|
||
|
|
||
|
#if __ANDROID__
|
||
|
#define GL_GLEXT_PROTOTYPES
|
||
|
#include <GLES2/gl2.h>
|
||
|
#endif
|
||
|
|
||
|
#if defined(_WIN64) || defined(_WIN32)
|
||
|
#include <glad/glad.h>
|
||
|
#endif // defined
|
||
|
|
||
|
#endif // OPENGL_H
|