webOS Userland
Native system APIs for webOS
gl2platform.h
1 #ifndef __gl2platform_h_
2 #define __gl2platform_h_
3 
4 /*
5 ** Copyright 2017-2020 The Khronos Group Inc.
6 ** SPDX-License-Identifier: Apache-2.0
7 */
8 
9 /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
10  *
11  * Adopters may modify khrplatform.h and this file to suit their platform.
12  * Please contribute modifications back to Khronos as pull requests on the
13  * public github repository:
14  * https://github.com/KhronosGroup/OpenGL-Registry
15  */
16 
17 #include <KHR/khrplatform.h>
18 
19 #ifndef GL_APICALL
20 #define GL_APICALL KHRONOS_APICALL
21 #endif
22 
23 #ifndef GL_APIENTRY
24 #define GL_APIENTRY KHRONOS_APIENTRY
25 #endif
26 
27 #endif /* __gl2platform_h_ */