diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-10 10:36:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-10 10:36:06 +0300 |
commit | a358f6bb692b3e81c48f4ee2ef6d1ad3438f41e6 (patch) | |
tree | b09e60246d1f7a968e67b92b18011802fbd0075c /source/blender/gpu | |
parent | 54af7cbf4b16fd6585baba227b604768c86745a2 (diff) |
Cleanup: use STR_ELEM macro
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 0b69b0c6cd8..552ae8f4cd7 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -1349,7 +1349,7 @@ static void gpu_node_input_link(GPUNode *node, GPUNodeLink *link, const eGPUType name = outnode->name; input = outnode->inputs.first; - if ((STREQ(name, "set_value") || STREQ(name, "set_rgb") || STREQ(name, "set_rgba")) && + if ((STR_ELEM(name, "set_value", "set_rgb", "set_rgba")) && (input->type == type)) { input = MEM_dupallocN(outnode->inputs.first); |