Brian Paul | 0ebc94d | 2008-06-04 10:04:31 -0600 | [diff] [blame] | 1 | #ifndef __gl2platform_h_ |
| 2 | #define __gl2platform_h_ |
| 3 | |
Ilia Mirkin | 6a5504d | 2016-08-28 13:07:25 -0400 | [diff] [blame] | 4 | /* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ |
Brian Paul | 0ebc94d | 2008-06-04 10:04:31 -0600 | [diff] [blame] | 5 | |
| 6 | /* |
Chia-I Wu | 59f8dca | 2010-05-31 10:15:55 +0800 | [diff] [blame] | 7 | * 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 Paul | 0ebc94d | 2008-06-04 10:04:31 -0600 | [diff] [blame] | 10 | |
Chia-I Wu | 59f8dca | 2010-05-31 10:15:55 +0800 | [diff] [blame] | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.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 Paul | 0ebc94d | 2008-06-04 10:04:31 -0600 | [diff] [blame] | 19 | |
Chia-I Wu | 59f8dca | 2010-05-31 10:15:55 +0800 | [diff] [blame] | 20 | #include <KHR/khrplatform.h> |
| 21 | |
| 22 | #ifndef GL_APICALL |
| 23 | #define GL_APICALL KHRONOS_APICALL |
Brian Paul | 0ebc94d | 2008-06-04 10:04:31 -0600 | [diff] [blame] | 24 | #endif |
| 25 | |
Chia-I Wu | 59f8dca | 2010-05-31 10:15:55 +0800 | [diff] [blame] | 26 | #ifndef GL_APIENTRY |
| 27 | #define GL_APIENTRY KHRONOS_APIENTRY |
Brian Paul | 0ebc94d | 2008-06-04 10:04:31 -0600 | [diff] [blame] | 28 | #endif |
| 29 | |
| 30 | #endif /* __gl2platform_h_ */ |