author | Sam Lantinga |
Fri, 11 Feb 2011 22:37:15 -0800 | |
changeset 5262 | b530ef003506 |
parent 5204 | daa5463466c5 |
child 5535 | 96594ac5fd1a |
permissions | -rw-r--r-- |
hfutrell@2746 | 1 |
/* |
slouken@5204 | 2 |
SDL - Simple DirectMedia Layer |
slouken@5262 | 3 |
Copyright (C) 1997-2011 Sam Lantinga |
slouken@5204 | 4 |
|
slouken@5204 | 5 |
This library is free software; you can redistribute it and/or |
slouken@5204 | 6 |
modify it under the terms of the GNU Lesser General Public |
slouken@5204 | 7 |
License as published by the Free Software Foundation; either |
slouken@5204 | 8 |
version 2.1 of the License, or (at your option) any later version. |
slouken@5204 | 9 |
|
slouken@5204 | 10 |
This library is distributed in the hope that it will be useful, |
slouken@5204 | 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
slouken@5204 | 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
slouken@5204 | 13 |
Lesser General Public License for more details. |
slouken@5204 | 14 |
|
slouken@5204 | 15 |
You should have received a copy of the GNU Lesser General Public |
slouken@5204 | 16 |
License along with this library; if not, write to the Free Software |
slouken@5204 | 17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
slouken@5204 | 18 |
|
slouken@5204 | 19 |
Sam Lantinga |
slouken@5204 | 20 |
slouken@libsdl.org |
slouken@5204 | 21 |
*/ |
hfutrell@2746 | 22 |
|
slouken@3407 | 23 |
/** |
slouken@3407 | 24 |
* \file SDL_opengles.h |
slouken@3407 | 25 |
* |
slouken@5204 | 26 |
* This is a simple file to encapsulate the OpenGL ES 1.X API headers. |
hfutrell@2746 | 27 |
*/ |
hfutrell@2746 | 28 |
|
slouken@2765 | 29 |
#ifdef __IPHONEOS__ |
slouken@5204 | 30 |
#include <OpenGLES/ES1/gl.h> |
slouken@5204 | 31 |
#include <OpenGLES/ES1/glext.h> |
slouken@5204 | 32 |
#else |
slouken@5204 | 33 |
#include <GLES/gl.h> |
slouken@5204 | 34 |
#include <GLES/glext.h> |
slouken@2765 | 35 |
#endif |
slouken@2753 | 36 |
|
hfutrell@2746 | 37 |
#ifndef APIENTRY |
hfutrell@2746 | 38 |
#define APIENTRY |
slouken@2753 | 39 |
#endif |