diff options
author | Brian Paul <brianp@vmware.com> | 2010-09-09 15:11:37 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-09-09 19:19:28 -0600 |
commit | d851dae919f77180ab70035ad621ea0424162c43 (patch) | |
tree | bbd9440ff08c2039701047541b7396688a2bd7fa | |
parent | 379e2e77badfaa367e1fb47a870a7b5dbcb6a7a6 (diff) | |
download | external_mesa3d-d851dae919f77180ab70035ad621ea0424162c43.zip external_mesa3d-d851dae919f77180ab70035ad621ea0424162c43.tar.gz external_mesa3d-d851dae919f77180ab70035ad621ea0424162c43.tar.bz2 |
graw: fix array size, indentation,
-rw-r--r-- | src/gallium/tests/graw/tri.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/gallium/tests/graw/tri.c b/src/gallium/tests/graw/tri.c index 4dbd2c0..8f68fc7 100644 --- a/src/gallium/tests/graw/tri.c +++ b/src/gallium/tests/graw/tri.c @@ -31,16 +31,19 @@ struct vertex { float color[4]; }; -static struct vertex vertices[4] = +static struct vertex vertices[3] = { - { { 0.0f, -0.9f, 0.0f, 1.0f }, - { 1.0f, 0.0f, 0.0f, 1.0f } + { + { 0.0f, -0.9f, 0.0f, 1.0f }, + { 1.0f, 0.0f, 0.0f, 1.0f } }, - { { -0.9f, 0.9f, 0.0f, 1.0f }, - { 0.0f, 1.0f, 0.0f, 1.0f } + { + { -0.9f, 0.9f, 0.0f, 1.0f }, + { 0.0f, 1.0f, 0.0f, 1.0f } }, - { { 0.9f, 0.9f, 0.0f, 1.0f }, - { 0.0f, 0.0f, 1.0f, 1.0f } + { + { 0.9f, 0.9f, 0.0f, 1.0f }, + { 0.0f, 0.0f, 1.0f, 1.0f } } }; |