From 37ff9433c0d6387c0f841042de8f8665a2a61f14 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 11 Nov 1999 14:37:24 +0000 Subject: added missing braces in array initializations --- progs/redbook/tess.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'progs/redbook') 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); -- cgit v1.2.3