summaryrefslogtreecommitdiff
path: root/src/dispatch_common.h
diff options
context:
space:
mode:
authorYaron Cohen-Tal <yaronct@gmail.com>2015-08-30 15:32:07 +0300
committerYaron Cohen-Tal <yaronct@gmail.com>2015-08-30 15:32:07 +0300
commit64e2ee2ca81cf7d772bad2f471073e1066572c17 (patch)
tree6ef7b6c8e49bf2b014bf940eba51d98d031c1a89 /src/dispatch_common.h
parentdd695faee34c9b95fe4f1fd5b7a7247e5612036d (diff)
downloadlibepoxy-64e2ee2ca81cf7d772bad2f471073e1066572c17.tar.gz
Fix a bug in which "DllMain" isn't called when using the static version of Epoxy in Windows.
Diffstat (limited to 'src/dispatch_common.h')
-rwxr-xr-x[-rw-r--r--]src/dispatch_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index 262f34d..4e4414f 100644..100755
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -166,4 +166,8 @@ extern BOOL UNWRAPPED_PROTO(wglMakeCurrent_unwrapped)(HDC hdc, HGLRC hglrc);
extern BOOL UNWRAPPED_PROTO(wglMakeContextCurrentARB_unwrapped)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
extern BOOL UNWRAPPED_PROTO(wglMakeContextCurrentEXT_unwrapped)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
extern BOOL UNWRAPPED_PROTO(wglMakeAssociatedContextCurrentAMD_unwrapped)(HGLRC hglrc);
-#endif /* _WIN32_ */
+#endif /* _WIN32 */
+
+#if EPOXY_SUPPORT_WGL
+extern bool epoxy_first_context_current;
+#endif