diff options
author | Vinson Lee <vlee@vmware.com> | 2009-10-07 07:54:31 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-07 07:54:31 -0600 |
commit | 4b3cbecb3a87374a292a7e454cd959e8c1eac322 (patch) | |
tree | e4516a8d0820e040bf00804c613faa01887b0e70 /progs/tests/random.c | |
parent | e3fff3daf031a997a1d4316e1a0e5c831573221d (diff) |
progs/test: Fix MSVC build.
Diffstat (limited to 'progs/tests/random.c')
-rw-r--r-- | progs/tests/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/random.c b/progs/tests/random.c index 4023674c05..604b4d4088 100644 --- a/progs/tests/random.c +++ b/progs/tests/random.c @@ -257,11 +257,11 @@ RandomPrimitive(void) Vcount++; for (i = 0; i < len; i++) { + int k = RandomInt(9); Vbuffer[Vcount].v[0] = RandomFloat(-3, 3); Vbuffer[Vcount].v[1] = RandomFloat(-3, 3); Vbuffer[Vcount].v[2] = RandomFloat(-3, 3); Vbuffer[Vcount].v[3] = RandomFloat(-3, 3); - int k = RandomInt(9); switch (k) { case 0: glVertex2fv(Vbuffer[Vcount].v); |