Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added comments, link to Kronos site.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holmes Futrell committed Aug 15, 2008
1 parent 73c0660 commit 41536c8
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions 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 <GLES/glplatform.h>
#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 <OpenGLES/ES1/gl.h>
#include <OpenGLES/ES1/gl.h> /* Header File For The OpenGL ES Library */
#endif

#ifndef APIENTRY
Expand Down Expand Up @@ -807,5 +833,5 @@ GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, cons
}
#endif

#endif /* __gl_h_ */
#endif /* __gles_h_ */

0 comments on commit 41536c8

Please sign in to comment.