Forgot UBO support check in shadow

This commit is contained in:
Vincent Lejeune 2014-12-12 02:13:33 +01:00
parent 834683f414
commit 2cf2630362

View File

@ -300,7 +300,7 @@ public:
bool usesShadows() const
{
return supportGeometryShader() && UserConfigParams::m_shadows;
return supportGeometryShader() && UserConfigParams::m_shadows && !needUBOWorkaround();
}
bool usesGI() const