mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-29 10:40:42 +02:00
progs/test: Fix MSVC build.
This commit is contained in:
parent
e3fff3daf0
commit
4b3cbecb3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue