X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=examples%2Fplugin%2Fteapot.c;h=7916edeb9cf5c9a1332f2a7f33597403f79fd31a;hp=d80ab21c98aa4d7706fdeace3f08b555c7b43877;hb=3f16fc84d8130817045f8663af7f5c2b7d47d8ec;hpb=b87064909e6d20e1ee2995adae0c1ce5cb692d7e diff --git a/examples/plugin/teapot.c b/examples/plugin/teapot.c index d80ab21..7916ede 100644 --- a/examples/plugin/teapot.c +++ b/examples/plugin/teapot.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include "teapot.h" @@ -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; }