[grits] Minor cleanup in GritsPoly



commit 3200807b2f6116384f0d65ce5fb94baff4f1cf2d
Author: Andy Spencer <andy753421 gmail com>
Date:   Fri Apr 13 23:48:44 2012 +0000

    Minor cleanup in GritsPoly

 src/objects/grits-poly.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/objects/grits-poly.c b/src/objects/grits-poly.c
index 0637127..fb18411 100644
--- a/src/objects/grits-poly.c
+++ b/src/objects/grits-poly.c
@@ -64,7 +64,6 @@ static void grits_poly_outline(gdouble (**points)[3])
 static gboolean grits_poly_runlist(GritsPoly *poly, int i,
 		void (*render)(gdouble(**)[3]))
 {
-	//g_debug("GritsPoly: genlist");
 	if (poly->list[i]) {
 		glCallList(poly->list[i]);
 	} else {
@@ -73,6 +72,7 @@ static gboolean grits_poly_runlist(GritsPoly *poly, int i,
 		render(poly->points);
 		glEndList();
 		poly->list[i] = list;
+		//g_debug("GritsPoly: genlist");
 	}
 	return FALSE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]