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:
authorAntony Riakiotakis <kalast@gmail.com>2013-04-16 04:56:24 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-04-16 04:56:24 +0400
commite93f00d73d8e48fe7aab2949224315c396ddf903 (patch)
tree8d95f5436a649494bebd403cb85f903a5ab77f28 /source/blender/blenkernel/intern/ocean.c
parentd3a878688e81613fb722f40ba51314fa6964d470 (diff)
Compile fixes for recent commits
Diffstat (limited to 'source/blender/blenkernel/intern/ocean.c')
-rw-r--r--source/blender/blenkernel/intern/ocean.c4
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);