[libgis] Move teapot to overlay level



commit 3f16fc84d8130817045f8663af7f5c2b7d47d8ec
Author: Andy Spencer <andy753421 gmail com>
Date:   Mon Feb 15 18:45:49 2010 +0000

    Move teapot to overlay level

 examples/plugin/teapot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/plugin/teapot.c b/examples/plugin/teapot.c
index 4c52465..7916ede 100644
--- a/examples/plugin/teapot.c
+++ b/examples/plugin/teapot.c
@@ -74,7 +74,7 @@ GisPluginTeapot *gis_plugin_teapot_new(GisViewer *viewer, GisPrefs *prefs)
 
 	/* Add renderers */
 	GisCallback *callback = gis_callback_new(expose, teapot);
-	gis_viewer_add(viewer, GIS_OBJECT(callback), GIS_LEVEL_WORLD, 0);
+	gis_viewer_add(viewer, GIS_OBJECT(callback), GIS_LEVEL_OVERLAY+1, 0);
 
 	return teapot;
 }



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