summaryrefslogtreecommitdiff
path: root/include/SDL2/SDL_opengles2_gl2platform.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-10-27 21:01:21 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-10-27 21:01:21 +0200
commit641f81317a5b5cea6b3c5a4c65b1ca4313b0d8c0 (patch)
tree391bb0b6536ca2247a371f16a44249b8a5f963d6 /include/SDL2/SDL_opengles2_gl2platform.h
parent9d0bb9f229155546fde8b4f666d2682ad5ac606f (diff)
audio, add throwable
Diffstat (limited to 'include/SDL2/SDL_opengles2_gl2platform.h')
-rw-r--r--include/SDL2/SDL_opengles2_gl2platform.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/SDL2/SDL_opengles2_gl2platform.h b/include/SDL2/SDL_opengles2_gl2platform.h
new file mode 100644
index 0000000..426796e
--- /dev/null
+++ b/include/SDL2/SDL_opengles2_gl2platform.h
@@ -0,0 +1,27 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/*
+** Copyright 2017-2020 The Khronos Group Inc.
+** SPDX-License-Identifier: Apache-2.0
+*/
+
+/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * Please contribute modifications back to Khronos as pull requests on the
+ * public github repository:
+ * https://github.com/KhronosGroup/OpenGL-Registry
+ */
+
+/*#include <KHR/khrplatform.h>*/
+
+#ifndef GL_APICALL
+#define GL_APICALL KHRONOS_APICALL
+#endif
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __gl2platform_h_ */