Skip to content

Commit e1a3f44

Browse files
committed
apple GL headers
1 parent 6a3c058 commit e1a3f44

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Qor/Common.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
#define _COMMON_H_C7X7FP4Q
33

44
#ifdef _MSC_VER
5-
#include <SDL2/SDL_main.h>
5+
#include <SDL2/SDL_main.h>
66
#endif
77

88
#include <SDL2/SDL.h>
9-
//#include <GL3/gl3.h>
10-
//#include <GL3/gl3w.h>
119
#include <GL/glew.h>
12-
#include <GL/gl.h>
10+
11+
#ifdef __APPLE__
12+
#include <OpenGL/gl.h>
13+
#else
14+
#include <GL/gl.h>
15+
#endif
1316

1417
#endif

0 commit comments

Comments
 (0)