summaryrefslogtreecommitdiffstats
path: root/progs/redbook
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-11 14:37:24 +0000
committerBrian Paul <[email protected]>1999-11-11 14:37:24 +0000
commit37ff9433c0d6387c0f841042de8f8665a2a61f14 (patch)
tree803641278efb544f4693cc54d095b7a504e71653 /progs/redbook
parent3d993b7dee26635c458852e30e87e21ef664ce60 (diff)
added missing braces in array initializations
Diffstat (limited to 'progs/redbook')
-rw-r--r--progs/redbook/tess.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/progs/redbook/tess.c b/progs/redbook/tess.c
index e8c840fc6e3..eb94653f252 100644
--- a/progs/redbook/tess.c
+++ b/progs/redbook/tess.c
@@ -125,18 +125,18 @@ void CALLBACK combineCallback(GLdouble coords[3],
void init (void)
{
GLUtesselator *tobj;
- GLdouble rect[4][3] = {50.0, 50.0, 0.0,
- 200.0, 50.0, 0.0,
- 200.0, 200.0, 0.0,
- 50.0, 200.0, 0.0};
- GLdouble tri[3][3] = {75.0, 75.0, 0.0,
- 125.0, 175.0, 0.0,
- 175.0, 75.0, 0.0};
- GLdouble star[5][6] = {250.0, 50.0, 0.0, 1.0, 0.0, 1.0,
- 325.0, 200.0, 0.0, 1.0, 1.0, 0.0,
- 400.0, 50.0, 0.0, 0.0, 1.0, 1.0,
- 250.0, 150.0, 0.0, 1.0, 0.0, 0.0,
- 400.0, 150.0, 0.0, 0.0, 1.0, 0.0};
+ GLdouble rect[4][3] = {{50.0, 50.0, 0.0},
+ {200.0, 50.0, 0.0},
+ {200.0, 200.0, 0.0},
+ {50.0, 200.0, 0.0}};
+ GLdouble tri[3][3] = {{75.0, 75.0, 0.0},
+ {125.0, 175.0, 0.0},
+ {175.0, 75.0, 0.0}};
+ GLdouble star[5][6] = {{250.0, 50.0, 0.0, 1.0, 0.0, 1.0},
+ {325.0, 200.0, 0.0, 1.0, 1.0, 0.0},
+ {400.0, 50.0, 0.0, 0.0, 1.0, 1.0},
+ {250.0, 150.0, 0.0, 1.0, 0.0, 0.0},
+ {400.0, 150.0, 0.0, 0.0, 1.0, 0.0}};
glClearColor(0.0, 0.0, 0.0, 0.0);