OPTPiX SpriteStudio SDK
Loading...
Searching...
No Matches
ssOpenGLSetting.h
Go to the documentation of this file.
1#ifndef __SSOPENGLSETTING__
2#define __SSOPENGLSETTING__
3
4
5
6#ifdef USE_GLEW
7 #if _WIN32 || _WIN64
8 #define GLEW_STATIC
9 #include <GL/glew.h>
10 #include <GL/gl.h>
11 #elif __APPLE__
12 #include <OpenGL/gl3.h>
13 #include <OpenGL/gl.h>
14 #include <OpenGL/glext.h>
15 #include <OpenGL/OpenGL.h>
16 #else
17 #include <GL/gl.h>
18 #endif
19#else
20 #include <glad/glad.h>
21 //#include <glad/gl.h>
22 #include <GLFW/glfw3.h>
23#endif
24
25
26#ifdef _WIN32
27#pragma comment(lib, "OpenGL32.Lib")
28#endif
29
30
31#endif
32