Move teapot to overlay level
authorAndy Spencer <andy753421@gmail.com>
Mon, 15 Feb 2010 18:45:49 +0000 (18:45 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 15 Feb 2010 18:45:49 +0000 (18:45 +0000)
examples/plugin/teapot.c

index 4c52465..7916ede 100644 (file)
@@ -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;
 }