blob: 2db6ee2ca68e16205f92104d3464e833962d076e [file] [log] [blame]
Brian Paul1b386f42008-06-04 10:27:22 -06001#ifndef __glplatform_h_
2#define __glplatform_h_
3
Chia-I Wu59f8dca2010-05-31 10:15:55 +08004/* $Revision: 10601 $ on $Date:: 2010-03-04 22:15:27 -0800 #$ */
Brian Paul1b386f42008-06-04 10:27:22 -06005
6/*
Chia-I Wu59f8dca2010-05-31 10:15:55 +08007 * This document is licensed under the SGI Free Software B License Version
8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 */
Brian Paul1b386f42008-06-04 10:27:22 -060010
Chia-I Wu59f8dca2010-05-31 10:15:55 +080011/* Platform-specific types and definitions for OpenGL ES 1.X gl.h
12 *
13 * Adopters may modify khrplatform.h and this file to suit their platform.
14 * You are encouraged to submit all modifications to the Khronos group so that
15 * they can be included in future versions of this file. Please submit changes
16 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
17 * by filing a bug against product "OpenGL-ES" component "Registry".
18 */
Brian Paul1b386f42008-06-04 10:27:22 -060019
Chia-I Wu59f8dca2010-05-31 10:15:55 +080020#include <KHR/khrplatform.h>
21
22#ifndef GL_API
23#define GL_API KHRONOS_APICALL
Brian Paul1b386f42008-06-04 10:27:22 -060024#endif
25
Chia-I Wu59f8dca2010-05-31 10:15:55 +080026#ifndef GL_APIENTRY
27#define GL_APIENTRY KHRONOS_APIENTRY
Brian Paul1b386f42008-06-04 10:27:22 -060028#endif
29
30#endif /* __glplatform_h_ */