cubemapper
annotate src/opengl.h @ 4:2bfafdced01a
added README, COPYING, and copyright headers
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 30 Jul 2017 16:11:19 +0300 |
parents | 8fc9e1d3aad2 |
children |
rev | line source |
---|---|
nuclear@4 | 1 /* |
nuclear@4 | 2 Cubemapper - a program for converting panoramic images into cubemaps |
nuclear@4 | 3 Copyright (C) 2017 John Tsiombikas <nuclear@member.fsf.org> |
nuclear@4 | 4 |
nuclear@4 | 5 This program is free software: you can redistribute it and/or modify |
nuclear@4 | 6 it under the terms of the GNU General Public License as published by |
nuclear@4 | 7 the Free Software Foundation, either version 3 of the License, or |
nuclear@4 | 8 (at your option) any later version. |
nuclear@4 | 9 |
nuclear@4 | 10 This program is distributed in the hope that it will be useful, |
nuclear@4 | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
nuclear@4 | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
nuclear@4 | 13 GNU General Public License for more details. |
nuclear@4 | 14 |
nuclear@4 | 15 You should have received a copy of the GNU General Public License |
nuclear@4 | 16 along with this program. If not, see <http://www.gnu.org/licenses/>. |
nuclear@4 | 17 */ |
nuclear@0 | 18 #ifndef OPENGL_H_ |
nuclear@0 | 19 #define OPENGL_H_ |
nuclear@0 | 20 |
nuclear@0 | 21 #ifdef WIN32 |
nuclear@0 | 22 #include <windows.h> |
nuclear@0 | 23 #endif |
nuclear@0 | 24 |
nuclear@0 | 25 #include <GL/glew.h> |
nuclear@0 | 26 |
nuclear@0 | 27 #ifdef __APPLE__ |
nuclear@0 | 28 #include <OpenGL/gl.h> |
nuclear@0 | 29 #else |
nuclear@0 | 30 #define GL_GLEXT_PROTOTYPES 1 |
nuclear@0 | 31 #include <GL/gl.h> |
nuclear@0 | 32 #include <GL/glu.h> |
nuclear@0 | 33 #endif |
nuclear@0 | 34 |
nuclear@0 | 35 bool init_opengl(); |
nuclear@0 | 36 |
nuclear@0 | 37 #endif // OPENGL_H_ |