diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-16 04:56:24 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-16 04:56:24 +0400 |
commit | e93f00d73d8e48fe7aab2949224315c396ddf903 (patch) | |
tree | 8d95f5436a649494bebd403cb85f903a5ab77f28 /source/blender/blenkernel | |
parent | d3a878688e81613fb722f40ba51314fa6964d470 (diff) |
Compile fixes for recent commits
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/ocean.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/ocean.c b/source/blender/blenkernel/intern/ocean.c index 94dbe7b87c2..21a69910b4d 100644 --- a/source/blender/blenkernel/intern/ocean.c +++ b/source/blender/blenkernel/intern/ocean.c @@ -159,8 +159,8 @@ static float gaussRand(RNG *rng) float length2; do { - x = (float) (nextfr(-1, 1)); - y = (float)(nextfr(-1, 1)); + x = (float) (nextfr(rng, -1, 1)); + y = (float)(nextfr(rng, -1, 1)); length2 = x * x + y * y; } while (length2 >= 1 || length2 == 0); |