From: Andy Spencer Date: Sat, 6 Feb 2010 15:10:55 +0000 (+0000) Subject: Remove gis_viewer_{begin,end} calls X-Git-Tag: v0.4~44 X-Git-Url: http://pileus.org/git/?p=aweather;a=commitdiff_plain;h=45fc98c7d64b1a9b84763089f9f237e2cb9a00ce Remove gis_viewer_{begin,end} calls --- diff --git a/src/plugins/radar.c b/src/plugins/radar.c index 9cd4a60..8c18e97 100644 --- a/src/plugins/radar.c +++ b/src/plugins/radar.c @@ -74,7 +74,6 @@ static void _bscan_sweep(GisPluginRadar *self, Sweep *sweep, colormap_t *colorma static void _load_sweep(GisPluginRadar *self, Sweep *sweep) { GisViewer *viewer = self->viewer; - gis_viewer_begin(viewer); self->cur_sweep = sweep; int height, width; guint8 *data; @@ -90,7 +89,6 @@ static void _load_sweep(GisPluginRadar *self, Sweep *sweep) GL_RGBA, GL_UNSIGNED_BYTE, data); g_free(data); gtk_widget_queue_draw(GTK_WIDGET(viewer)); - gis_viewer_end(viewer); } static void _load_colormap(GisPluginRadar *self, gchar *table)