[SVN] r3975 - branches/gsoc2008_iphone/include
svn-owner at libsdl.org
svn-owner at libsdl.org
Fri Aug 15 11:31:31 PDT 2008
Author: hfutrell
Date: 2008-08-15 11:31:30 -0700 (Fri, 15 Aug 2008)
New Revision: 3975
Modified:
branches/gsoc2008_iphone/include/SDL_opengles.h
Log:
Added comments, link to Kronos site.
Modified: branches/gsoc2008_iphone/include/SDL_opengles.h
===================================================================
--- branches/gsoc2008_iphone/include/SDL_opengles.h 2008-08-15 18:26:48 UTC (rev 3974)
+++ branches/gsoc2008_iphone/include/SDL_opengles.h 2008-08-15 18:31:30 UTC (rev 3975)
@@ -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 at libsdl.org
+ */
+/*
+ This is a simple file to encapsulate the OpenGL ES API headers.
+ Headers copied from The Kronos Group website.
+ http://www.khronos.org/opengles/
+ */
+
+#ifndef __gles_h_
+#define __gles_h_
+
/* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
-//#include <GLES/glplatform.h>
-
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __IPHONEOS__
-#include <OpenGLES/ES1/gl.h>
+#include <OpenGLES/ES1/gl.h> /* Header File For The OpenGL ES Library */
#endif
#ifndef APIENTRY
@@ -807,5 +833,5 @@
}
#endif
-#endif /* __gl_h_ */
+#endif /* __gles_h_ */
More information about the commits
mailing list