Do not test for GLRenderTarget as it is not used.

CCMAIL: l.lunak@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=877398
This commit is contained in:
Martin Gräßlin 2008-10-29 12:50:26 +00:00
parent 86bb3308c9
commit 8f66f80789
2 changed files with 2 additions and 4 deletions

View file

@ -58,8 +58,7 @@ void CylinderEffect::reconfigure( ReconfigureFlags )
bool CylinderEffect::supported() bool CylinderEffect::supported()
{ {
return GLRenderTarget::supported() && return GLShader::fragmentShaderSupported() &&
GLShader::fragmentShaderSupported() &&
(effects->compositingType() == OpenGLCompositing); (effects->compositingType() == OpenGLCompositing);
} }

View file

@ -63,8 +63,7 @@ void SphereEffect::reconfigure( ReconfigureFlags )
bool SphereEffect::supported() bool SphereEffect::supported()
{ {
return GLRenderTarget::supported() && return GLShader::fragmentShaderSupported() &&
GLShader::fragmentShaderSupported() &&
(effects->compositingType() == OpenGLCompositing); (effects->compositingType() == OpenGLCompositing);
} }