summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-16 11:39:29 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-16 11:42:13 +0100
commit166957abebea6aa203eba7e6348e89d53cf0e13e (patch)
treef6e08ea1ad218b9a1f50569b0ab784ac9a2057ee
parent699260b19535abaa3af0a5d33eb039e3d6a30ce9 (diff)
progs/tests: Use rand() instead of random().
Forgot these on previous commit.
-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 6123ef7c16..28e3b537ac 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);