OLD | NEW |
1 #ifndef __gl2platform_h_ | 1 #ifndef __gl2platform_h_ |
2 #define __gl2platform_h_ | 2 #define __gl2platform_h_ |
3 | 3 |
4 /* $Revision: 7173 $ on $Date:: 2009-01-09 11:18:21 -0800 #$ */ | 4 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ |
5 | 5 |
6 /* | 6 /* |
7 * This document is licensed under the SGI Free Software B License Version | 7 * This document is licensed under the SGI Free Software B License Version |
8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | 8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . |
9 */ | 9 */ |
10 | 10 |
11 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h | 11 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h |
12 * Last modified on 2008/12/19 | |
13 * | 12 * |
14 * Adopters may modify khrplatform.h and this file to suit their platform. | 13 * Adopters may modify khrplatform.h and this file to suit their platform. |
15 * You are encouraged to submit all modifications to the Khronos group so that | 14 * You are encouraged to submit all modifications to the Khronos group so that |
16 * they can be included in future versions of this file. Please submit changes | 15 * they can be included in future versions of this file. Please submit changes |
17 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | 16 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) |
18 * by filing a bug against product "OpenGL-ES" component "Registry". | 17 * by filing a bug against product "OpenGL-ES" component "Registry". |
19 */ | 18 */ |
20 | 19 |
21 #include <KHR/khrplatform.h> | 20 #include <KHR/khrplatform.h> |
22 | 21 |
23 #ifndef GL_APICALL | 22 #ifndef GL_APICALL |
24 #define GL_APICALL KHRONOS_APICALL | 23 #define GL_APICALL KHRONOS_APICALL |
25 #endif | 24 #endif |
26 | 25 |
| 26 #ifndef GL_APIENTRY |
27 #define GL_APIENTRY KHRONOS_APIENTRY | 27 #define GL_APIENTRY KHRONOS_APIENTRY |
| 28 #endif |
28 | 29 |
29 #endif /* __gl2platform_h_ */ | 30 #endif /* __gl2platform_h_ */ |
OLD | NEW |