projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6e3af
)
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
Vinson Lee
<vlee@vmware.com>
Thu, 3 Dec 2009 23:34:38 +0000
(15:34 -0800)
Forgot these on previous commit.
(cherry picked from commit
166957abebea6aa203eba7e6348e89d53cf0e13e
)
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);