gecko/gfx/angle/angle-stdcall-alias.patch
Jacek Caban 961d0821b8 Bug 787653 - Allow compiling ANGLE on mingw-w64 (makefile part) r=bjacob,ted
--HG--
extra : rebase_source : df14db300f8a8b3e900de7579ab80058cfa70846
2012-09-19 10:58:31 +02:00

14 lines
590 B
Diff

diff --git a/gfx/angle/src/libGLESv2/libGLESv2.def b/gfx/angle/src/libGLESv2/libGLESv2.def
index 5f935c3..2324dcb 100644
--- a/gfx/angle/src/libGLESv2/libGLESv2.def
+++ b/gfx/angle/src/libGLESv2/libGLESv2.def
@@ -180,3 +180,8 @@ EXPORTS
glGetCurrentContext @147 NONAME
glGetProcAddress @148 NONAME
glBindTexImage @158 NONAME
+
+ ; GCC has problems with linking to undecored stdcall functions,
+ ; so we explicitly add aliases for APIs used by EGL
+ glGetProcAddress@4=glGetProcAddress
+ glBindTexImage@4=glBindTexImage