projects
/
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 6123ef7c1627a7ea9c4ba8abc0ce9cc8ba73673d..28e3b537acddc193e16ffee2e8053a5ed50504b0 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);