Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | /* |
2 | * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>. |
||
3 | * It is copyright by its individual contributors, as recorded in the |
||
4 | * project's Git history. See COPYING.txt at the top level for license |
||
5 | * terms and a link to the Git history. |
||
6 | */ |
||
7 | |||
8 | #ifdef _WIN32 |
||
9 | #include "loadgl.h" |
||
10 | #else |
||
11 | #include "dxxsconf.h" |
||
12 | # define GL_GLEXT_LEGACY |
||
13 | # if defined(__APPLE__) && defined(__MACH__) |
||
14 | # include <OpenGL/gl.h> |
||
15 | # include <OpenGL/glu.h> |
||
16 | # else |
||
17 | # define GL_GLEXT_PROTOTYPES |
||
18 | # if DXX_USE_OGLES |
||
19 | # include <GLES/gl.h> |
||
20 | # else |
||
21 | # include <GL/gl.h> |
||
22 | # include <GL/glext.h> |
||
23 | # endif |
||
24 | # endif |
||
25 | #endif |