diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-28 13:48:56 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-28 13:48:56 -0800 |
commit | b6ebeed2cfcebb220f2ce700c7cbe484e62cd2e2 (patch) | |
tree | fb2679ed6fc2447a50531f9133b1b04cbd6f67b5 /system/include/GLES2/gl2platform.h | |
parent | c351fb6a11adbc20446577685a849eab82a2edbf (diff) | |
parent | 21e2f7768cc99f106ed0fca3732bcce794a425c9 (diff) |
Merge pull request #191 from ehsan/glgears
Initial implementation of OpenGL ES and GLUT
Diffstat (limited to 'system/include/GLES2/gl2platform.h')
-rw-r--r-- | system/include/GLES2/gl2platform.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/system/include/GLES2/gl2platform.h b/system/include/GLES2/gl2platform.h new file mode 100644 index 00000000..c9fa3c4d --- /dev/null +++ b/system/include/GLES2/gl2platform.h @@ -0,0 +1,30 @@ +#ifndef __gl2platform_h_ +#define __gl2platform_h_ + +/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ + +/* + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ + +/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h + * + * Adopters may modify khrplatform.h and this file to suit their platform. + * You are encouraged to submit all modifications to the Khronos group so that + * they can be included in future versions of this file. Please submit changes + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) + * by filing a bug against product "OpenGL-ES" component "Registry". + */ + +#include <KHR/khrplatform.h> + +#ifndef GL_APICALL +#define GL_APICALL KHRONOS_APICALL +#endif + +#ifndef GL_APIENTRY +#define GL_APIENTRY KHRONOS_APIENTRY +#endif + +#endif /* __gl2platform_h_ */ |