1*8975f5c5SAndroid Build Coastguard Worker #ifndef __glplatform_h_ 2*8975f5c5SAndroid Build Coastguard Worker #define __glplatform_h_ 3*8975f5c5SAndroid Build Coastguard Worker 4*8975f5c5SAndroid Build Coastguard Worker /* 5*8975f5c5SAndroid Build Coastguard Worker ** Copyright (c) 2017 The Khronos Group Inc. 6*8975f5c5SAndroid Build Coastguard Worker ** 7*8975f5c5SAndroid Build Coastguard Worker ** Licensed under the Apache License, Version 2.0 (the "License"); 8*8975f5c5SAndroid Build Coastguard Worker ** you may not use this file except in compliance with the License. 9*8975f5c5SAndroid Build Coastguard Worker ** You may obtain a copy of the License at 10*8975f5c5SAndroid Build Coastguard Worker ** 11*8975f5c5SAndroid Build Coastguard Worker ** http://www.apache.org/licenses/LICENSE-2.0 12*8975f5c5SAndroid Build Coastguard Worker ** 13*8975f5c5SAndroid Build Coastguard Worker ** Unless required by applicable law or agreed to in writing, software 14*8975f5c5SAndroid Build Coastguard Worker ** distributed under the License is distributed on an "AS IS" BASIS, 15*8975f5c5SAndroid Build Coastguard Worker ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16*8975f5c5SAndroid Build Coastguard Worker ** See the License for the specific language governing permissions and 17*8975f5c5SAndroid Build Coastguard Worker ** limitations under the License. 18*8975f5c5SAndroid Build Coastguard Worker */ 19*8975f5c5SAndroid Build Coastguard Worker 20*8975f5c5SAndroid Build Coastguard Worker /* Platform-specific types and definitions for OpenGL ES 1.X gl.h 21*8975f5c5SAndroid Build Coastguard Worker * 22*8975f5c5SAndroid Build Coastguard Worker * Adopters may modify khrplatform.h and this file to suit their platform. 23*8975f5c5SAndroid Build Coastguard Worker * Please contribute modifications back to Khronos as pull requests on the 24*8975f5c5SAndroid Build Coastguard Worker * public github repository: 25*8975f5c5SAndroid Build Coastguard Worker * https://github.com/KhronosGroup/OpenGL-Registry 26*8975f5c5SAndroid Build Coastguard Worker */ 27*8975f5c5SAndroid Build Coastguard Worker 28*8975f5c5SAndroid Build Coastguard Worker #include <KHR/khrplatform.h> 29*8975f5c5SAndroid Build Coastguard Worker 30*8975f5c5SAndroid Build Coastguard Worker #ifndef GL_API 31*8975f5c5SAndroid Build Coastguard Worker #define GL_API KHRONOS_APICALL 32*8975f5c5SAndroid Build Coastguard Worker #endif 33*8975f5c5SAndroid Build Coastguard Worker 34*8975f5c5SAndroid Build Coastguard Worker #ifndef GL_APIENTRY 35*8975f5c5SAndroid Build Coastguard Worker #define GL_APIENTRY KHRONOS_APIENTRY 36*8975f5c5SAndroid Build Coastguard Worker #endif 37*8975f5c5SAndroid Build Coastguard Worker 38*8975f5c5SAndroid Build Coastguard Worker #endif /* __glplatform_h_ */ 39