1848b8605Smrg#ifndef __gl2platform_h_ 2848b8605Smrg#define __gl2platform_h_ 3848b8605Smrg 4848b8605Smrg/* 5b8e80941Smrg** Copyright (c) 2017 The Khronos Group Inc. 6b8e80941Smrg** 7b8e80941Smrg** Licensed under the Apache License, Version 2.0 (the "License"); 8b8e80941Smrg** you may not use this file except in compliance with the License. 9b8e80941Smrg** You may obtain a copy of the License at 10b8e80941Smrg** 11b8e80941Smrg** http://www.apache.org/licenses/LICENSE-2.0 12b8e80941Smrg** 13b8e80941Smrg** Unless required by applicable law or agreed to in writing, software 14b8e80941Smrg** distributed under the License is distributed on an "AS IS" BASIS, 15b8e80941Smrg** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16b8e80941Smrg** See the License for the specific language governing permissions and 17b8e80941Smrg** limitations under the License. 18b8e80941Smrg*/ 19848b8605Smrg 20848b8605Smrg/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 21848b8605Smrg * 22848b8605Smrg * Adopters may modify khrplatform.h and this file to suit their platform. 23b8e80941Smrg * Please contribute modifications back to Khronos as pull requests on the 24b8e80941Smrg * public github repository: 25b8e80941Smrg * https://github.com/KhronosGroup/OpenGL-Registry 26848b8605Smrg */ 27848b8605Smrg 28848b8605Smrg#include <KHR/khrplatform.h> 29848b8605Smrg 30848b8605Smrg#ifndef GL_APICALL 31848b8605Smrg#define GL_APICALL KHRONOS_APICALL 32848b8605Smrg#endif 33848b8605Smrg 34848b8605Smrg#ifndef GL_APIENTRY 35848b8605Smrg#define GL_APIENTRY KHRONOS_APIENTRY 36848b8605Smrg#endif 37848b8605Smrg 38848b8605Smrg#endif /* __gl2platform_h_ */ 39