projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
699260b
)
progs/tests: Use rand() instead of random().
author
José Fonseca
<jfonseca@vmware.com>
Fri, 16 Oct 2009 10:39:29 +0000
(11:39 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 16 Oct 2009 10:42:13 +0000
(11:42 +0100)
Forgot these on previous commit.
progs/tests/prog_parameter.c
patch
|
blob
|
history
diff --git
a/progs/tests/prog_parameter.c
b/progs/tests/prog_parameter.c
index
6123ef7
..
28e3b53
100644
(file)
--- 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) rand
om() / (GLfloat) random
();
+ param[i] = (GLfloat) rand
() / (GLfloat) rand
();
}
printf("Testing glProgram%sParameters4fvEXT (count = %u)...\n", name, count);