Remove duplicate call to render the context.
[synfig.git] / synfig-core / trunk / src / modules / example / metaballs.cpp
index 74fb884..6d9f959 100644 (file)
@@ -1,6 +1,6 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file metaballs.cpp
-**     \brief Implements metaballs
+**     \brief Implementation of the "Metaballs" layer
 **
 **     $Id$
 **
@@ -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;