X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fsynfig%2Fsurface.cpp;h=91e16636f32c494c0184d9120dd082ae5cab206d;hb=20067bb96af6946754e7ecb7b40673b818f6e5c2;hp=6eef58833f6dd423b6600969829200b611787808;hpb=40dd10f62f1b0983b20cf99dd4780ea73236eb0c;p=synfig.git diff --git a/synfig-core/tags/stable/src/synfig/surface.cpp b/synfig-core/tags/stable/src/synfig/surface.cpp index 6eef588..91e1663 100644 --- a/synfig-core/tags/stable/src/synfig/surface.cpp +++ b/synfig-core/tags/stable/src/synfig/surface.cpp @@ -90,7 +90,7 @@ target2surface::set_rend_desc(synfig::RendDesc *newdesc) } bool -target2surface::start_frame(synfig::ProgressCallback *cb) +target2surface::start_frame(synfig::ProgressCallback */*cb*/) { if(surface->get_w() != desc.get_w() || surface->get_h() != desc.get_h()) { @@ -220,14 +220,14 @@ synfig::Surface::blit_to(alpha_pen& pen, int x, int y, int w, int h) top.data=static_cast(operator[](y)+x); top.height=h; top.width=w; - //top.rowBytes=get_w()*sizeof(Color); //! \fixme this should get the pitch!! + //top.rowBytes=get_w()*sizeof(Color); //! \todo this should get the pitch!! top.rowBytes=get_pitch(); bottom.data=static_cast(pen.x()); bottom.height=h; bottom.width=w; - //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \fixme this should get the pitch!! - bottom.rowBytes=pen.get_pitch(); //! \fixme this should get the pitch!! + //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \todo this should get the pitch!! + bottom.rowBytes=pen.get_pitch(); //! \todo this should get the pitch!! vImage_Error ret; ret=vImageAlphaBlend_ARGBFFFF(&top,&bottom,&dest,kvImageNoFlags);