mirror of https://github.com/axmolengine/axmol.git
28 lines
642 B
C
28 lines
642 B
C
#ifndef __gl2platform_h_
|
|
#define __gl2platform_h_
|
|
|
|
/*
|
|
** Copyright 2017-2020 The Khronos Group Inc.
|
|
** SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
|
|
*
|
|
* Adopters may modify khrplatform.h and this file to suit their platform.
|
|
* Please contribute modifications back to Khronos as pull requests on the
|
|
* public github repository:
|
|
* https://github.com/KhronosGroup/OpenGL-Registry
|
|
*/
|
|
|
|
#include <KHR/khrplatform.h>
|
|
|
|
#ifndef GL_APICALL
|
|
#define GL_APICALL KHRONOS_APICALL
|
|
#endif
|
|
|
|
#ifndef GL_APIENTRY
|
|
#define GL_APIENTRY KHRONOS_APIENTRY
|
|
#endif
|
|
|
|
#endif /* __gl2platform_h_ */
|