[effects/cube] Drop warnings if not with shader support
We require shaders nowadays for the Cube effect.
This commit is contained in:
parent
720d10cee8
commit
e476cbc0d2
1 changed files with 0 additions and 4 deletions
|
@ -1496,8 +1496,6 @@ void CubeEffect::toggleCylinder()
|
|||
useShaders = loadShader();
|
||||
if (useShaders)
|
||||
toggle(Cylinder);
|
||||
else
|
||||
qCritical() << "Sorry shaders are not available - cannot activate Cylinder";
|
||||
}
|
||||
|
||||
void CubeEffect::toggleSphere()
|
||||
|
@ -1507,8 +1505,6 @@ void CubeEffect::toggleSphere()
|
|||
useShaders = loadShader();
|
||||
if (useShaders)
|
||||
toggle(Sphere);
|
||||
else
|
||||
qCritical() << "Sorry shaders are not available - cannot activate Sphere";
|
||||
}
|
||||
|
||||
void CubeEffect::toggle(CubeMode newMode)
|
||||
|
|
Loading…
Reference in a new issue