summaryrefslogtreecommitdiff
path: root/include/SDL2/SDL_opengles2_gl2platform.h
diff options
context:
space:
mode:
authortalha <sarcxd@gmail.com>2024-10-08 21:15:38 +0500
committertalha <sarcxd@gmail.com>2024-10-08 21:15:38 +0500
commit7c0ca92da0d2d0fd7e7f4da957ef7d1ea9f15e41 (patch)
treec5db10f770781a2a7bff76ef9330de4779416eb6 /include/SDL2/SDL_opengles2_gl2platform.h
Saving draft, added collision detection so far
Diffstat (limited to 'include/SDL2/SDL_opengles2_gl2platform.h')
-rwxr-xr-xinclude/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 100755
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_ */