blob: eb318dc3a3cc68ad23cde7c9174788aa5ebca1b1 [file] [log] [blame]
Brian Paul0ebc94d2008-06-04 10:04:31 -06001#ifndef __gl2platform_h_
2#define __gl2platform_h_
3
Brian Paul0ebc94d2008-06-04 10:04:31 -06004/*
Nicolai Hähnle7fd08172017-06-10 20:46:27 +02005** 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*/
Brian Paul0ebc94d2008-06-04 10:04:31 -060019
Chia-I Wu59f8dca2010-05-31 10:15:55 +080020/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
21 *
22 * Adopters may modify khrplatform.h and this file to suit their platform.
Nicolai Hähnle7fd08172017-06-10 20:46:27 +020023 * Please contribute modifications back to Khronos as pull requests on the
24 * public github repository:
25 * https://github.com/KhronosGroup/OpenGL-Registry
Chia-I Wu59f8dca2010-05-31 10:15:55 +080026 */
Brian Paul0ebc94d2008-06-04 10:04:31 -060027
Chia-I Wu59f8dca2010-05-31 10:15:55 +080028#include <KHR/khrplatform.h>
29
30#ifndef GL_APICALL
31#define GL_APICALL KHRONOS_APICALL
Brian Paul0ebc94d2008-06-04 10:04:31 -060032#endif
33
Chia-I Wu59f8dca2010-05-31 10:15:55 +080034#ifndef GL_APIENTRY
35#define GL_APIENTRY KHRONOS_APIENTRY
Brian Paul0ebc94d2008-06-04 10:04:31 -060036#endif
37
38#endif /* __gl2platform_h_ */