summaryrefslogtreecommitdiff
path: root/src/gpu/effect_v2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effect_v2.cc')
-rw-r--r--src/gpu/effect_v2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effect_v2.cc b/src/gpu/effect_v2.cc
index 79a14b4..7ecdfbd 100644
--- a/src/gpu/effect_v2.cc
+++ b/src/gpu/effect_v2.cc
@@ -6,6 +6,6 @@
EffectV2::EffectV2(const GpuContext& ctx, const std::vector<std::string>& inputs,
const std::vector<std::string>& outputs)
: ctx_(ctx), input_nodes_(inputs), output_nodes_(outputs) {
- FATAL_CHECK(inputs.empty(), "Effect must have at least one input\n");
- FATAL_CHECK(outputs.empty(), "Effect must have at least one output\n");
+ FATAL_CHECK(!inputs.empty(), "Effect must have at least one input\n");
+ FATAL_CHECK(!outputs.empty(), "Effect must have at least one output\n");
}