Added comments, link to Kronos site. gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 15 Aug 2008 18:31:30 +0000
branchgsoc2008_iphone
changeset 243783cf833940ba
parent 2436 d7b41796713e
child 2438 fe9d15725d96
Added comments, link to Kronos site.
include/SDL_opengles.h
     1.1 --- a/include/SDL_opengles.h	Fri Aug 15 18:26:48 2008 +0000
     1.2 +++ b/include/SDL_opengles.h	Fri Aug 15 18:31:30 2008 +0000
     1.3 @@ -1,16 +1,42 @@
     1.4 -#ifndef __gl_h_
     1.5 -#define __gl_h_
     1.6 +/*
     1.7 + SDL - Simple DirectMedia Layer
     1.8 + Copyright (C) 1997-2006 Sam Lantinga
     1.9 + 
    1.10 + This library is free software; you can redistribute it and/or
    1.11 + modify it under the terms of the GNU Lesser General Public
    1.12 + License as published by the Free Software Foundation; either
    1.13 + version 2.1 of the License, or (at your option) any later version.
    1.14 + 
    1.15 + This library is distributed in the hope that it will be useful,
    1.16 + but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.17 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.18 + Lesser General Public License for more details.
    1.19 + 
    1.20 + You should have received a copy of the GNU Lesser General Public
    1.21 + License along with this library; if not, write to the Free Software
    1.22 + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    1.23 + 
    1.24 + Sam Lantinga
    1.25 + slouken@libsdl.org
    1.26 + */
    1.27 +
    1.28 +/*
    1.29 +	This is a simple file to encapsulate the OpenGL ES API headers.
    1.30 +	Headers copied from The Kronos Group website.
    1.31 +	http://www.khronos.org/opengles/
    1.32 + */
    1.33 +
    1.34 +#ifndef __gles_h_
    1.35 +#define __gles_h_
    1.36  
    1.37  /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
    1.38  
    1.39 -//#include <GLES/glplatform.h>
    1.40 -
    1.41  #ifdef __cplusplus
    1.42  extern "C" {
    1.43  #endif
    1.44  
    1.45  #ifdef __IPHONEOS__
    1.46 -#include <OpenGLES/ES1/gl.h>
    1.47 +#include <OpenGLES/ES1/gl.h> /* Header File For The OpenGL ES Library */
    1.48  #endif
    1.49  	
    1.50  #ifndef APIENTRY
    1.51 @@ -807,5 +833,5 @@
    1.52  }
    1.53  #endif
    1.54  
    1.55 -#endif /* __gl_h_ */
    1.56 +#endif /* __gles_h_ */
    1.57