summaryrefslogtreecommitdiffstats
path: root/external/epoxy/epoxy.windows.api.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/epoxy/epoxy.windows.api.patch')
-rw-r--r--external/epoxy/epoxy.windows.api.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/external/epoxy/epoxy.windows.api.patch b/external/epoxy/epoxy.windows.api.patch
new file mode 100644
index 000000000..985f2d880
--- /dev/null
+++ b/external/epoxy/epoxy.windows.api.patch
@@ -0,0 +1,12 @@
+--- include/epoxy/gl.h
++++ include/epoxy/gl.h
+@@ -59,7 +59,8 @@
+
+ #else
+ #ifndef APIENTRY
+-#define APIENTRY __stdcall
++#define WINAPI __stdcall
++#define APIENTRY WINAPI
+ #endif
+
+ #ifndef GLAPIENTRY