🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

  1. /*
  2. Simple DirectMedia Layer
  3. Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
  4. This software is provided 'as-is', without any express or implied
  5. warranty. In no event will the authors be held liable for any damages
  6. arising from the use of this software.
  7. Permission is granted to anyone to use this software for any purpose,
  8. including commercial applications, and to alter it and redistribute it
  9. freely, subject to the following restrictions:
  10. 1. The origin of this software must not be misrepresented; you must not
  11. claim that you wrote the original software. If you use this software
  12. in a product, an acknowledgment in the product documentation would be
  13. appreciated but is not required.
  14. 2. Altered source versions must be plainly marked as such, and must not be
  15. misrepresented as being the original software.
  16. 3. This notice may not be removed or altered from any source distribution.
  17. */
  18. /**
  19. * \file SDL_opengles2.h
  20. *
  21. * This is a simple file to encapsulate the OpenGL ES 2.0 API headers.
  22. */
  23. #include "SDL_config.h"
  24. #ifndef _MSC_VER
  25. #ifdef __IPHONEOS__
  26. #include <OpenGLES/ES2/gl.h>
  27. #include <OpenGLES/ES2/glext.h>
  28. #else
  29. #include <GLES2/gl2platform.h>
  30. #include <GLES2/gl2.h>
  31. #include <GLES2/gl2ext.h>
  32. #endif
  33. #else /* _MSC_VER */
  34. /* OpenGL ES2 headers for Visual Studio */
  35. #include "SDL_opengles2_khrplatform.h"
  36. #include "SDL_opengles2_gl2platform.h"
  37. #include "SDL_opengles2_gl2.h"
  38. #include "SDL_opengles2_gl2ext.h"
  39. #endif /* _MSC_VER */
  40. #ifndef APIENTRY
  41. #define APIENTRY GL_APIENTRY
  42. #endif