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