OLD | NEW |
1 #ifndef __gl2platform_h_ | 1 #ifndef __gl2platform_h_ |
2 #define __gl2platform_h_ | 2 #define __gl2platform_h_ |
3 | 3 |
4 /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ | |
5 | |
6 /* | 4 /* |
7 * This document is licensed under the SGI Free Software B License Version | 5 ** Copyright (c) 2017 The Khronos Group Inc. |
8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | 6 ** |
9 */ | 7 ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 ** you may not use this file except in compliance with the License. |
| 9 ** You may obtain a copy of the License at |
| 10 ** |
| 11 ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 ** |
| 13 ** Unless required by applicable law or agreed to in writing, software |
| 14 ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 ** See the License for the specific language governing permissions and |
| 17 ** limitations under the License. |
| 18 */ |
10 | 19 |
11 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h | 20 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h |
12 * | 21 * |
13 * Adopters may modify khrplatform.h and this file to suit their platform. | 22 * Adopters may modify khrplatform.h and this file to suit their platform. |
14 * You are encouraged to submit all modifications to the Khronos group so that | 23 * Please contribute modifications back to Khronos as pull requests on the |
15 * they can be included in future versions of this file. Please submit changes | 24 * public github repository: |
16 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) | 25 * https://github.com/KhronosGroup/OpenGL-Registry |
17 * by filing a bug against product "OpenGL-ES" component "Registry". | |
18 */ | 26 */ |
19 | 27 |
20 #include <KHR/khrplatform.h> | 28 #include <KHR/khrplatform.h> |
21 | 29 |
22 #ifndef GL_APICALL | 30 #ifndef GL_APICALL |
23 #define GL_APICALL KHRONOS_APICALL | 31 #define GL_APICALL KHRONOS_APICALL |
24 #endif | 32 #endif |
25 | 33 |
26 #ifndef GL_APIENTRY | 34 #ifndef GL_APIENTRY |
27 #define GL_APIENTRY KHRONOS_APIENTRY | 35 #define GL_APIENTRY KHRONOS_APIENTRY |
28 #endif | 36 #endif |
29 | 37 |
30 #endif /* __gl2platform_h_ */ | 38 #endif /* __gl2platform_h_ */ |
OLD | NEW |