istereo
annotate src/opengl.h @ 43:73813c1176de
better hgignore
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 14 Aug 2015 04:33:42 +0300 |
parents | 32503603eb7d |
children |
rev | line source |
---|---|
nuclear@39 | 1 /* |
nuclear@39 | 2 Stereoscopic tunnel for iOS. |
nuclear@39 | 3 Copyright (C) 2011 John Tsiombikas <nuclear@member.fsf.org> |
nuclear@39 | 4 |
nuclear@39 | 5 This program is free software: you can redistribute it and/or modify |
nuclear@39 | 6 it under the terms of the GNU General Public License as published by |
nuclear@39 | 7 the Free Software Foundation, either version 3 of the License, or |
nuclear@39 | 8 (at your option) any later version. |
nuclear@39 | 9 |
nuclear@39 | 10 This program is distributed in the hope that it will be useful, |
nuclear@39 | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
nuclear@39 | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
nuclear@39 | 13 GNU General Public License for more details. |
nuclear@39 | 14 |
nuclear@39 | 15 You should have received a copy of the GNU General Public License |
nuclear@39 | 16 along with this program. If not, see <http://www.gnu.org/licenses/>. |
nuclear@39 | 17 */ |
nuclear@39 | 18 |
nuclear@39 | 19 |
nuclear@15 | 20 #ifndef OPENGL_H_ |
nuclear@15 | 21 #define OPENGL_H_ |
nuclear@15 | 22 |
nuclear@15 | 23 #include "config.h" |
nuclear@15 | 24 |
nuclear@15 | 25 #ifdef IPHONE |
nuclear@1 | 26 #include <OpenGLES/ES2/gl.h> |
nuclear@1 | 27 #else |
nuclear@1 | 28 |
nuclear@1 | 29 #include <GL/glew.h> |
nuclear@1 | 30 |
nuclear@1 | 31 #ifdef __APPLE__ |
nuclear@1 | 32 #include <GLUT/glut.h> |
nuclear@1 | 33 #else |
nuclear@1 | 34 #include <GL/glut.h> |
nuclear@1 | 35 #endif /* __APPLE__ */ |
nuclear@1 | 36 |
nuclear@15 | 37 #endif /* IPHONE */ |
nuclear@15 | 38 |
nuclear@15 | 39 #endif /* OPENGL_H_ */ |