From 41536c832ad142cdedf889858a0119a0110ef613 Mon Sep 17 00:00:00 2001 From: Holmes Futrell Date: Fri, 15 Aug 2008 18:31:30 +0000 Subject: [PATCH] Added comments, link to Kronos site. --- include/SDL_opengles.h | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/include/SDL_opengles.h b/include/SDL_opengles.h index 2bf823ed5..a7c0190e5 100644 --- a/include/SDL_opengles.h +++ b/include/SDL_opengles.h @@ -1,16 +1,42 @@ -#ifndef __gl_h_ -#define __gl_h_ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2006 Sam Lantinga + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + Sam Lantinga + slouken@libsdl.org + */ -/* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */ +/* + This is a simple file to encapsulate the OpenGL ES API headers. + Headers copied from The Kronos Group website. + http://www.khronos.org/opengles/ + */ -//#include +#ifndef __gles_h_ +#define __gles_h_ + +/* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */ #ifdef __cplusplus extern "C" { #endif #ifdef __IPHONEOS__ -#include +#include /* Header File For The OpenGL ES Library */ #endif #ifndef APIENTRY @@ -807,5 +833,5 @@ GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, cons } #endif -#endif /* __gl_h_ */ +#endif /* __gles_h_ */