From: Andy Spencer Date: Mon, 15 Feb 2010 18:45:49 +0000 (+0000) Subject: Move teapot to overlay level X-Git-Tag: v0.4~26 X-Git-Url: http://pileus.org/git/?p=grits;a=commitdiff_plain;h=3f16fc84d8130817045f8663af7f5c2b7d47d8ec Move teapot to overlay level --- 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; }