diff options
author | Omar Emara <mail@OmarEmara.dev> | 2022-10-11 17:22:14 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2022-10-11 17:22:14 +0300 |
commit | 009acfa477bbb52560b05006d9b950e014e91d9b (patch) | |
tree | 8550dbd630bddefcfffb40e0afec4fc07c78f0c5 /source/blender/compositor | |
parent | 37461b8bdd7d298a64c72a921936e2abeaca491a (diff) |
Cleanup: Add missing include for parallel reduction
The parallel reduction file didn't include its own header, which can
yield "no previous declaration" warnings. This patch includes the header
to fix the warning.
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/realtime_compositor/CMakeLists.txt | 1 | ||||
-rw-r--r-- | source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/compositor/realtime_compositor/CMakeLists.txt b/source/blender/compositor/realtime_compositor/CMakeLists.txt index 5473a253241..90cbe0988ad 100644 --- a/source/blender/compositor/realtime_compositor/CMakeLists.txt +++ b/source/blender/compositor/realtime_compositor/CMakeLists.txt @@ -2,6 +2,7 @@ set(INC . + ./algorithms ../../blenkernel ../../blenlib ../../gpu diff --git a/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc b/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc index 7b571f381c6..3266ccd14eb 100644 --- a/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc +++ b/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc @@ -12,6 +12,8 @@ #include "COM_context.hh" #include "COM_utilities.hh" +#include "COM_algorithm_parallel_reduction.hh" + namespace blender::realtime_compositor { /* Reduces the given texture into a single value and returns it. The return value should be freed |