vk: remove duplicate condition in pipeline_props struct equal operator

This commit is contained in:
scribam 2019-05-31 20:06:35 +02:00 committed by Ivan
parent 32776db8a6
commit d9d7634f8b

View File

@ -40,9 +40,6 @@ namespace vk
if (memcmp(&state.ds, &other.state.ds, sizeof(VkPipelineDepthStencilStateCreateInfo)))
return false;
if (num_targets != other.num_targets)
return false;
return num_targets == other.num_targets;
}
};