[grits] Draw plugins in wireframe mode as well



commit 4301f1eb1cad5c6b6805ea44c97202888731a6a6
Author: Andy Spencer <andy753421 gmail com>
Date:   Sat Jan 22 19:48:39 2011 +0000

    Draw plugins in wireframe mode as well

 src/grits-opengl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/grits-opengl.c b/src/grits-opengl.c
index f4523d5..a42cdab 100644
--- a/src/grits-opengl.c
+++ b/src/grits-opengl.c
@@ -201,6 +201,7 @@ static gboolean on_expose(GritsOpenGL *opengl, GdkEventExpose *event, gpointer _
 		glClear(GL_DEPTH_BUFFER_BIT);
 		glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
 		roam_sphere_draw(opengl->sphere);
+		g_tree_foreach(opengl->objects, _draw_level, opengl);
 	}
 	g_mutex_unlock(opengl->objects_lock);
 #endif



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