aboutsummaryrefslogtreecommitdiff
path: root/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-21 02:26:46 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-21 02:26:46 +0100
commit5f5d5d07c3ea8bead4241d6cce9ee14be226610b (patch)
treec7ff40a360cc6fb4096047f3c6bba22ebb349d8a /x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
parentccd5e68160be5037782516253cb9a5ffa4b830a6 (diff)
downloadengine-5f5d5d07c3ea8bead4241d6cce9ee14be226610b.tar.gz
started working on windows support
Diffstat (limited to 'x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h')
-rw-r--r--x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h b/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
new file mode 100644
index 0000000..426796e
--- /dev/null
+++ b/x86_64-w64-mingw32/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_ */