summaryrefslogtreecommitdiff
path: root/src/dispatch_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dispatch_common.h')
-rw-r--r--src/dispatch_common.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index 676a4d5..161fe07 100644
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -24,7 +24,7 @@
#include <stdbool.h>
#ifdef _WIN32
-#define PLATFORM_HAS_EGL 0
+#define PLATFORM_HAS_EGL 1
#define PLATFORM_HAS_GLX 0
#define PLATFORM_HAS_WGL 1
#define EPOXY_IMPORTEXPORT __declspec(dllexport)
@@ -45,17 +45,6 @@
#define EPOXY_IMPORTEXPORT
#endif
-#include "epoxy/gl.h"
-#if PLATFORM_HAS_GLX
-#include "epoxy/glx.h"
-#endif
-#if PLATFORM_HAS_EGL
-#include "epoxy/egl.h"
-#endif
-#if PLATFORM_HAS_WGL
-#include "epoxy/wgl.h"
-#endif
-
#ifndef PUBLIC
# ifdef _WIN32
# define PUBLIC __declspec(dllexport)
@@ -66,6 +55,17 @@
# endif
#endif
+#if PLATFORM_HAS_WGL
+#include "epoxy/wgl.h"
+#endif
+#include "epoxy/gl.h"
+#if PLATFORM_HAS_GLX
+#include "epoxy/glx.h"
+#endif
+#if PLATFORM_HAS_EGL
+#include "epoxy/egl.h"
+#endif
+
#if defined(__GNUC__)
#define PACKED __attribute__((__packed__))
#else