summaryrefslogtreecommitdiffstats
path: root/third_party/glew
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-26 21:02:44 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-26 21:02:44 +0000
commit8e314155222269d0f48e3986c618916f6aa15634 (patch)
treed529a6a6d82f39198b4abcc0eb49b59d3e6ae931 /third_party/glew
parent41e3a47c68c73041695021d0fe56ec719c01da17 (diff)
downloadchromium_src-8e314155222269d0f48e3986c618916f6aa15634.zip
chromium_src-8e314155222269d0f48e3986c618916f6aa15634.tar.gz
chromium_src-8e314155222269d0f48e3986c618916f6aa15634.tar.bz2
Windows OSMesa DLL only exports OSMesa functions.
It no longer exports all the GL functions like glClear. These are bound by calling OSMesaGetProcAddress. glew no longer uses default mangled export name bind to OSMesaGetProcAddress. TEST=trybots, check the pepper 3d plugin demos still work on windows BUG=none Review URL: http://codereview.chromium.org/1743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/glew')
-rw-r--r--third_party/glew/src/glew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/glew/src/glew.c b/third_party/glew/src/glew.c
index a9fe3a5..9a16717 100644
--- a/third_party/glew/src/glew.c
+++ b/third_party/glew/src/glew.c
@@ -86,7 +86,7 @@ void* WinGetProcAddress(const GLubyte* name)
oglImage = LoadLibraryA("opengl32.dll");
}
else {
- osmesaGetProcAddress = (PFNOSMESAGETPROCADDRESSPROC) GetProcAddress(oglImage, "_OSMesaGetProcAddress@4");
+ osmesaGetProcAddress = (PFNOSMESAGETPROCADDRESSPROC) GetProcAddress(oglImage, "OSMesaGetProcAddress");
}
}
if (NULL != oglImage) {