summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-09-09 15:11:37 -0600
committerBrian Paul <[email protected]>2010-09-09 19:19:28 -0600
commitd851dae919f77180ab70035ad621ea0424162c43 (patch)
treebbd9440ff08c2039701047541b7396688a2bd7fa /src/gallium/tests/graw
parent379e2e77badfaa367e1fb47a870a7b5dbcb6a7a6 (diff)
graw: fix array size, indentation,
Diffstat (limited to 'src/gallium/tests/graw')
-rw-r--r--src/gallium/tests/graw/tri.c17
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 }
}
};