Open Ephys GUI
 All Classes Functions Variables Pages
OpenGL.h
1 /*
2  ------------------------------------------------------------------
3 
4  This file is part of the Open Ephys GUI
5  Copyright (C) 2012 Open Ephys
6 
7  ------------------------------------------------------------------
8 
9  This program is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #ifdef _WIN32
25 #include <windows.h>
26 #endif
27 
28 #if JUCE_WINDOWS
29 #include <gl/gl.h>
30 #include <gl/glu.h>
31 #elif JUCE_LINUX
32 #include <GL/gl.h>
33 #include <GL/glut.h>
34 #undef KeyPress
35 #elif JUCE_IPHONE
36 #include <OpenGLES/ES1/gl.h>
37 #include <OpenGLES/ES1/glext.h>
38 #elif JUCE_MAC
39 #include <GLUT/glut.h>
40 #endif
41 
42 #ifndef GL_BGRA_EXT
43 #define GL_BGRA_EXT 0x80e1
44 #endif
45 
46 #include <FTGL/ftgl.h>