make compile on gcc-3.3.3
svn path=/trunk/KDE/kdebase/workspace/; revision=673195
This commit is contained in:
parent
768109dcf6
commit
240b663df8
1 changed files with 2 additions and 2 deletions
|
@ -766,8 +766,8 @@ void SceneOpenGL::Texture::discard()
|
|||
void SceneOpenGL::Texture::findTarget()
|
||||
{
|
||||
unsigned int new_target = 0;
|
||||
if( tfp_mode && glXQueryDrawable && bound_glxpixmap != None )
|
||||
glXQueryDrawable( display(), bound_glxpixmap, GLX_TEXTURE_TARGET_EXT, &new_target );
|
||||
if( tfp_mode && KWin::glXQueryDrawable && bound_glxpixmap != None )
|
||||
KWin::glXQueryDrawable( display(), bound_glxpixmap, GLX_TEXTURE_TARGET_EXT, &new_target );
|
||||
else
|
||||
{
|
||||
if( NPOTTextureSupported() ||
|
||||
|
|
Loading…
Reference in a new issue