aboutsummaryrefslogtreecommitdiff
path: root/SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2025-06-11 20:21:29 +1200
committerArslaan Pathan <[email protected]>2025-06-11 20:21:29 +1200
commitdc0f9628b262b47f37ca7cdf15657f576ab71a45 (patch)
tree9a06c44bb510d90d74c225fb543bfce04b1303a2 /SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
parent5dfe69e4580073c9bdeaed605a46cf0ec3e24ad2 (diff)
downloadshowdownofthesticks-dc0f9628b262b47f37ca7cdf15657f576ab71a45.tar.xz
showdownofthesticks-dc0f9628b262b47f37ca7cdf15657f576ab71a45.zip
Add windows cross-compile build support, this was a piece of SHIT to do!
Diffstat (limited to 'SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h')
-rw-r--r--SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h b/SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
new file mode 100644
index 0000000..c325686
--- /dev/null
+++ b/SDL2-2.24.0/x86_64-w64-mingw32/include/SDL2/SDL_opengles2_gl2platform.h
@@ -0,0 +1,30 @@
+#ifndef __gl2platform_h_
+#define __gl2platform_h_
+
+/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * You are encouraged to submit all modifications to the Khronos group so that
+ * they can be included in future versions of this file. Please submit changes
+ * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+ * by filing a bug against product "OpenGL-ES" component "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_ */