Fix name of glXGetProcAddress(ARB).
svn path=/branches/work/kwin_composite/; revision=606549
This commit is contained in:
parent
107472c747
commit
277683c4f0
1 changed files with 2 additions and 2 deletions
|
@ -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" );
|
||||
|
|
Loading…
Reference in a new issue