diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-10-16 11:39:29 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-10-16 11:39:29 +0100 |
commit | 699260b19535abaa3af0a5d33eb039e3d6a30ce9 (patch) | |
tree | 72e152652826ae4486a72e076e6d73d0c6452b6d /progs/tests | |
parent | 60b6c7458319ff01ecdd9d1650d526ac8f75e194 (diff) |
progs/tests: Use rand() instead of random().
More portable. Same implementation on Linux.
Diffstat (limited to 'progs/tests')
-rw-r--r-- | progs/tests/prog_parameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/prog_parameter.c b/progs/tests/prog_parameter.c index 6dd956c402..6123ef7c16 100644 --- a/progs/tests/prog_parameter.c +++ b/progs/tests/prog_parameter.c @@ -116,7 +116,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(); } /* Try using the "classic" interface. |