gl2platform.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __gl2platform_h_
  2. #define __gl2platform_h_
  3. /*
  4. ** Copyright (c) 2017 The Khronos Group Inc.
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License");
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
  19. *
  20. * Adopters may modify khrplatform.h and this file to suit their platform.
  21. * Please contribute modifications back to Khronos as pull requests on the
  22. * public github repository:
  23. * https://github.com/KhronosGroup/OpenGL-Registry
  24. */
  25. #include <KHR/khrplatform.h>
  26. #ifndef GL_APICALL
  27. #define GL_APICALL KHRONOS_APICALL
  28. #endif
  29. #ifndef GL_APIENTRY
  30. #define GL_APIENTRY KHRONOS_APIENTRY
  31. #endif
  32. #endif /* __gl2platform_h_ */