webOS Userland
Native system APIs for webOS
glplatform.h
1 #ifndef __glplatform_h_
2 #define __glplatform_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 1.X gl.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_API
20 #define GL_API KHRONOS_APICALL
21 #endif
22 
23 #ifndef GL_APIENTRY
24 #define GL_APIENTRY KHRONOS_APIENTRY
25 #endif
26 
27 #endif /* __glplatform_h_ */