Fix name of glXGetProcAddress(ARB).

svn path=/branches/work/kwin_composite/; revision=606549
This commit is contained in:
Luboš Luňák 2006-11-20 19:25:25 +00:00
parent 107472c747
commit 277683c4f0

View file

@ -57,9 +57,9 @@ void initGLX()
display(), DefaultScreen( display()))).split(" ");
// handle OpenGL extensions functions
glXGetProcAddress = (glXGetProcAddress_func) getProcAddress( "glxGetProcAddress" );
glXGetProcAddress = (glXGetProcAddress_func) getProcAddress( "glXGetProcAddress" );
if( glXGetProcAddress == NULL )
glXGetProcAddress = (glXGetProcAddress_func) getProcAddress( "glxGetProcAddressARB" );
glXGetProcAddress = (glXGetProcAddress_func) getProcAddress( "glXGetProcAddressARB" );
if( hasGLExtension( "GLX_EXT_texture_from_pixmap" ))
{
glXBindTexImageEXT = (glXBindTexImageEXT_func) getProcAddress( "glXBindTexImageEXT" );