diff options
author | Brian Paul <[email protected]> | 2010-09-09 15:11:37 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-09 19:19:28 -0600 |
commit | d851dae919f77180ab70035ad621ea0424162c43 (patch) | |
tree | bbd9440ff08c2039701047541b7396688a2bd7fa /src/gallium/tests/graw | |
parent | 379e2e77badfaa367e1fb47a870a7b5dbcb6a7a6 (diff) |
graw: fix array size, indentation,
Diffstat (limited to 'src/gallium/tests/graw')
-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 4dbd2c062a5..8f68fc77d48 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 } } }; |