gl2platform.h 874 B

12345678910111213141516171819202122232425262728
  1. #ifndef __gl2platform_h_
  2. #define __gl2platform_h_
  3. /*
  4. * This document is licensed under the SGI Free Software B License Version
  5. * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
  6. */
  7. /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
  8. * Last modified on 2008/12/19
  9. *
  10. * Adopters may modify khrplatform.h and this file to suit their platform.
  11. * You are encouraged to submit all modifications to the Khronos group so that
  12. * they can be included in future versions of this file. Please submit changes
  13. * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
  14. * by filing a bug against product "OpenGL-ES" component "Registry".
  15. */
  16. #include <KHR/khrplatform.h>
  17. #ifndef GL_APICALL
  18. #define GL_APICALL KHRONOS_APICALL
  19. #endif
  20. #define GL_APIENTRY KHRONOS_APIENTRY
  21. #endif /* __gl2platform_h_ */