Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/render/filter.cpp')
-rw-r--r--intern/cycles/render/filter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/render/filter.cpp b/intern/cycles/render/filter.cpp
index 4925521e4a5..c000f1a0636 100644
--- a/intern/cycles/render/filter.cpp
+++ b/intern/cycles/render/filter.cpp
@@ -21,6 +21,8 @@
#include "filter.h"
#include "scene.h"
+#include "kernel_types.h"
+
#include "util_algorithm.h"
#include "util_debug.h"
#include "util_math.h"
@@ -51,7 +53,7 @@ static float filter_func_gaussian(float v, float width)
static vector<float> filter_table(FilterType type, float width)
{
- const int filter_table_size = 256;
+ const int filter_table_size = FILTER_TABLE_SIZE;
vector<float> filter_table_cdf(filter_table_size+1);
vector<float> filter_table(filter_table_size+1);
float (*filter_func)(float, float) = NULL;