progs/tests: Use rand() instead of random().

Forgot these on previous commit.
(cherry picked from commit 166957abeb)
This commit is contained in:
José Fonseca
2009-10-16 11:39:29 +01:00
committed by Vinson Lee
parent bb6e3af939
commit 28474e1225

View File

@@ -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);