SDL Library
Embed:
(wiki syntax)
Show/hide line numbers
SDL_opengles.h
Go to the documentation of this file.
00001 /* 00002 Simple DirectMedia Layer 00003 Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> 00004 00005 This software is provided 'as-is', without any express or implied 00006 warranty. In no event will the authors be held liable for any damages 00007 arising from the use of this software. 00008 00009 Permission is granted to anyone to use this software for any purpose, 00010 including commercial applications, and to alter it and redistribute it 00011 freely, subject to the following restrictions: 00012 00013 1. The origin of this software must not be misrepresented; you must not 00014 claim that you wrote the original software. If you use this software 00015 in a product, an acknowledgment in the product documentation would be 00016 appreciated but is not required. 00017 2. Altered source versions must be plainly marked as such, and must not be 00018 misrepresented as being the original software. 00019 3. This notice may not be removed or altered from any source distribution. 00020 */ 00021 00022 /** 00023 * \file SDL_opengles.h 00024 * 00025 * This is a simple file to encapsulate the OpenGL ES 1.X API headers. 00026 */ 00027 00028 #ifdef __IPHONEOS__ 00029 #include <OpenGLES/ES1/gl.h> 00030 #include <OpenGLES/ES1/glext.h> 00031 #else 00032 #include <GLES/gl.h> 00033 #include <GLES/glext.h> 00034 #endif 00035 00036 #ifndef APIENTRY 00037 #define APIENTRY 00038 #endif
Generated on Tue Jul 12 2022 15:10:20 by 1.7.2