From 7706e5e3598efb51d021a64f34f2c2d3e390be6f Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Tue, 5 Jan 2010 04:11:13 +0000 Subject: Revert 35509 - linux: implement gpu plugin Review URL: http://codereview.chromium.org/500132 TBR=piman@chromium.org Review URL: http://codereview.chromium.org/525022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35511 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/glew/src/glew.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/glew/src') diff --git a/third_party/glew/src/glew.c b/third_party/glew/src/glew.c index fb67781..17d2565 100644 --- a/third_party/glew/src/glew.c +++ b/third_party/glew/src/glew.c @@ -9557,7 +9557,7 @@ GLboolean glxewGetExtension (const char* name) /* if (glXQueryExtensionsString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE; */ /* p = (GLubyte*)glXQueryExtensionsString(glXGetCurrentDisplay(), DefaultScreen(glXGetCurrentDisplay())); */ if (__glewXGetClientString == NULL) { - __glewXGetClientString = (PFNGLXGETCLIENTSTRINGPROC) glewGetProcAddress((const GLubyte *)"glXGetClientString"); + __glewXGetClientString = (PFNGLXGETCLIENTSTRINGPROC) glewGetProcAddress("glXGetClientString"); } if (__glewXGetClientString == NULL) return GL_FALSE; if (glXGetCurrentDisplay == NULL) return GL_FALSE; @@ -9580,7 +9580,7 @@ GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST) int major, minor; static PFNGLXQUERYVERSIONPROC __glewXQueryVersion = NULL; if (__glewXQueryVersion == NULL) { - __glewXQueryVersion = (PFNGLXQUERYVERSIONPROC) glewGetProcAddress((const GLubyte *)"glXQueryVersion"); + __glewXQueryVersion = (PFNGLXQUERYVERSIONPROC) glewGetProcAddress("glXQueryVersion"); } if (__glewXQueryVersion == NULL) return GL_FALSE; /* initialize core GLX 1.2 */ -- cgit v1.1