Mesa (master): graw: fix array size, indentation,

Brian Paul brianp at kemper.freedesktop.org
Thu Sep 9 18:19:40 PDT 2010


Module: Mesa
Branch: master
Commit: d851dae919f77180ab70035ad621ea0424162c43
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d851dae919f77180ab70035ad621ea0424162c43

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Sep  9 15:11:37 2010 -0600

graw: fix array size, indentation,

---

 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 }
    }
 };
 



More information about the mesa-commit mailing list