Forgot UBO support check in shadow
This commit is contained in:
parent
834683f414
commit
2cf2630362
@ -300,7 +300,7 @@ public:
|
||||
|
||||
bool usesShadows() const
|
||||
{
|
||||
return supportGeometryShader() && UserConfigParams::m_shadows;
|
||||
return supportGeometryShader() && UserConfigParams::m_shadows && !needUBOWorkaround();
|
||||
}
|
||||
|
||||
bool usesGI() const
|
||||
|
Loading…
Reference in New Issue
Block a user