diff options
Diffstat (limited to 'source/blender/freestyle/intern/system/PseudoNoise.h')
-rw-r--r-- | source/blender/freestyle/intern/system/PseudoNoise.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/system/PseudoNoise.h b/source/blender/freestyle/intern/system/PseudoNoise.h index 302b305325f..ce725723b59 100644 --- a/source/blender/freestyle/intern/system/PseudoNoise.h +++ b/source/blender/freestyle/intern/system/PseudoNoise.h @@ -53,7 +53,8 @@ public: static void init(long seed); protected: - static real *_values; + static const unsigned NB_VALUE_NOISE = 512; + static real _values[NB_VALUE_NOISE]; #ifdef WITH_CXX_GUARDEDALLOC public: |