Remove duplicate call to render the context.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:34:14 +0000 (15:34 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:34:14 +0000 (15:34 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2237 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/example/metaballs.cpp

index f30357c..6d9f959 100644 (file)
@@ -199,12 +199,6 @@ Metaballs::accelerated_render(Context context,Surface *surface,int quality, cons
 
        SuperCallback supercb(cb,0,9000,10000);
 
-       if(!context.accelerated_render(surface,quality,renddesc,&supercb))
-       {
-               if(cb)cb->error(strprintf(__FILE__"%d: Accelerated Renderer Failure",__LINE__));
-               return false;
-       }
-
        Point pos(tl[0],tl[1]);
 
        Real    dens;