comparison include/SDL_opengles.h @ 2437:83cf833940ba gsoc2008_iphone

Added comments, link to Kronos site.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Fri, 15 Aug 2008 18:31:30 +0000
parents 4a6d5bff9521
children
comparison
equal deleted inserted replaced
2436:d7b41796713e 2437:83cf833940ba
1 #ifndef __gl_h_ 1 /*
2 #define __gl_h_ 2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2006 Sam Lantinga
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19 Sam Lantinga
20 slouken@libsdl.org
21 */
22
23 /*
24 This is a simple file to encapsulate the OpenGL ES API headers.
25 Headers copied from The Kronos Group website.
26 http://www.khronos.org/opengles/
27 */
28
29 #ifndef __gles_h_
30 #define __gles_h_
3 31
4 /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */ 32 /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
5
6 //#include <GLES/glplatform.h>
7 33
8 #ifdef __cplusplus 34 #ifdef __cplusplus
9 extern "C" { 35 extern "C" {
10 #endif 36 #endif
11 37
12 #ifdef __IPHONEOS__ 38 #ifdef __IPHONEOS__
13 #include <OpenGLES/ES1/gl.h> 39 #include <OpenGLES/ES1/gl.h> /* Header File For The OpenGL ES Library */
14 #endif 40 #endif
15 41
16 #ifndef APIENTRY 42 #ifndef APIENTRY
17 #define APIENTRY 43 #define APIENTRY
18 #endif 44 #endif
805 831
806 #ifdef __cplusplus 832 #ifdef __cplusplus
807 } 833 }
808 #endif 834 #endif
809 835
810 #endif /* __gl_h_ */ 836 #endif /* __gles_h_ */
811 837