diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 04:38:55 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 04:38:55 +0000 |
commit | be4f188066196d7bd0a4a7a62254bb603e566f74 (patch) | |
tree | a493671ea3e09fec3d20c86a0e452d509e7c9954 /third_party | |
parent | ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6 (diff) | |
download | chromium_src-be4f188066196d7bd0a4a7a62254bb603e566f74.zip chromium_src-be4f188066196d7bd0a4a7a62254bb603e566f74.tar.gz chromium_src-be4f188066196d7bd0a4a7a62254bb603e566f74.tar.bz2 |
linux: implement gpu plugin
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35509
Review URL: http://codereview.chromium.org/500132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/glew/src/glew.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/glew/src/glew.c b/third_party/glew/src/glew.c index 17d2565..fb67781 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("glXGetClientString"); + __glewXGetClientString = (PFNGLXGETCLIENTSTRINGPROC) glewGetProcAddress((const GLubyte *)"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("glXQueryVersion"); + __glewXQueryVersion = (PFNGLXQUERYVERSIONPROC) glewGetProcAddress((const GLubyte *)"glXQueryVersion"); } if (__glewXQueryVersion == NULL) return GL_FALSE; /* initialize core GLX 1.2 */ |