mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 12:50:12 +01:00
progs/tests: Use rand() instead of random().
Forgot these on previous commit.
This commit is contained in:
parent
699260b195
commit
166957abeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue