graw: small fixups for the gs examples

This commit is contained in:
Zack Rusin
2010-06-14 10:48:40 -04:00
parent 8ad410dc13
commit 5d5fa34757
2 changed files with 6 additions and 6 deletions
@@ -11,7 +11,7 @@ MOV OUT[1], IN[0][1]
EMIT
MOV OUT[0], IN[1][0]
MOV OUT[1], IN[0][1]
MOV OUT[1], IN[1][1]
EMIT
MOV OUT[0], IN[2][0]
+5 -5
View File
@@ -85,13 +85,13 @@ static struct vertex vertices_strip[] =
{ 1, 0, 0, 1 },
{ 1, -1, 0, 1 } },
{ {-0.9, -0.9, 0.0, 1.0 },
{ 0, 1, 0, 1 },
{ -1, -1, 0, 1 } },
{ {-0.9, 0.9, 0.0, 1.0 },
{ 1, 1, 0, 1 },
{ 0, 1, 0, 1 },
{ -1, 1, 0, 1 } },
{ {-0.9, -0.9, 0.0, 1.0 },
{ 1, 1, 0, 1 },
{ -1, -1, 0, 1 } },
};
static float constants[] =