| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | #ifndef __glplatform_h_ | 
 | 2 | #define __glplatform_h_ | 
 | 3 |  | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 4 | /* | 
| Ian Elliott | 524e113 | 2017-07-06 13:02:32 -0600 | [diff] [blame] | 5 | ** Copyright (c) 2017 The Khronos Group Inc. | 
 | 6 | ** | 
 | 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 | */ | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 19 |  | 
 | 20 | /* Platform-specific types and definitions for OpenGL ES 1.X  gl.h | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 21 |  * | 
 | 22 |  * Adopters may modify khrplatform.h and this file to suit their platform. | 
| Ian Elliott | 524e113 | 2017-07-06 13:02:32 -0600 | [diff] [blame] | 23 |  * Please contribute modifications back to Khronos as pull requests on the | 
 | 24 |  * public github repository: | 
 | 25 |  *      https://github.com/KhronosGroup/OpenGL-Registry | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 26 |  */ | 
 | 27 |  | 
 | 28 | #include <KHR/khrplatform.h> | 
 | 29 |  | 
 | 30 | #ifndef GL_API | 
 | 31 | #define GL_API      KHRONOS_APICALL | 
 | 32 | #endif | 
 | 33 |  | 
| Mathias Agopian | 8f62c30 | 2010-06-09 18:08:15 -0700 | [diff] [blame] | 34 | #ifndef GL_APIENTRY | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 35 | #define GL_APIENTRY KHRONOS_APIENTRY | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 36 | #endif | 
 | 37 |  | 
 | 38 | #endif /* __glplatform_h_ */ |