summaryrefslogtreecommitdiffstats
path: root/progs/tests/prog_parameter.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-10-16 11:39:29 +0100
committerVinson Lee <[email protected]>2009-12-03 15:34:38 -0800
commit28474e1225866e6b73928f79722f14cc5d6b35c7 (patch)
tree7fb9e251c937f34903fc57adffe4a7db6fb1f138 /progs/tests/prog_parameter.c
parentbb6e3af93920ca15d19fbb9685e5b6f612cc502c (diff)
progs/tests: Use rand() instead of random().
Forgot these on previous commit. (cherry picked from commit 166957abebea6aa203eba7e6348e89d53cf0e13e)
Diffstat (limited to 'progs/tests/prog_parameter.c')
-rw-r--r--progs/tests/prog_parameter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/prog_parameter.c b/progs/tests/prog_parameter.c
index 6123ef7c162..28e3b537acd 100644
--- a/progs/tests/prog_parameter.c
+++ b/progs/tests/prog_parameter.c
@@ -153,7 +153,7 @@ static int set_parameter_batch( GLsizei count, GLfloat * param,
for ( i = 0 ; i < (4 * count) ; i++ ) {
- param[i] = (GLfloat) random() / (GLfloat) random();
+ param[i] = (GLfloat) rand() / (GLfloat) rand();
}
printf("Testing glProgram%sParameters4fvEXT (count = %u)...\n", name, count);