Cleanup: Workbench: Remove Double negation

This commit is contained in:
Clément Foucault
2019-12-05 17:18:16 +01:00
parent f7bd56bf22
commit 05ef758f46

View File

@@ -311,7 +311,7 @@ void workbench_material_shgroup_uniform(WORKBENCH_PrivateData *wpd,
const bool deferred,
const int interp)
{
if (!(!deferred || workbench_is_matdata_pass_enabled(wpd))) {
if (deferred && !workbench_is_matdata_pass_enabled(wpd)) {
return;
}