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:
parent
86bb3308c9
commit
8f66f80789
2 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue