nuclear@2: /* nuclear@2: Stereoscopic tunnel for iOS. nuclear@2: Copyright (C) 2011 John Tsiombikas nuclear@2: nuclear@2: This program is free software: you can redistribute it and/or modify nuclear@2: it under the terms of the GNU General Public License as published by nuclear@2: the Free Software Foundation, either version 3 of the License, or nuclear@2: (at your option) any later version. nuclear@2: nuclear@2: This program is distributed in the hope that it will be useful, nuclear@2: but WITHOUT ANY WARRANTY; without even the implied warranty of nuclear@2: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nuclear@2: GNU General Public License for more details. nuclear@2: nuclear@2: You should have received a copy of the GNU General Public License nuclear@2: along with this program. If not, see . nuclear@2: */ nuclear@2: nuclear@2: nuclear@2: #ifndef OPENGL_H_ nuclear@2: #define OPENGL_H_ nuclear@2: nuclear@2: #include "config.h" nuclear@2: nuclear@6: #if defined(IPHONE) || defined(__IPHONE__) nuclear@2: #include nuclear@6: nuclear@6: #define glClearDepth glClearDepthf nuclear@6: #define GLDEF nuclear@6: #include "sanegl.h" nuclear@2: #else nuclear@2: nuclear@2: #include nuclear@2: nuclear@2: #ifdef __APPLE__ nuclear@2: #include nuclear@2: #else nuclear@2: #include nuclear@2: #endif /* __APPLE__ */ nuclear@2: nuclear@2: #endif /* IPHONE */ nuclear@2: nuclear@2: #endif /* OPENGL_H_ */