X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fsurface.cpp;h=91e16636f32c494c0184d9120dd082ae5cab206d;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=f783d9ced706d51e81255aa48322c524fa3b9bd1;hpb=c3ad95144d148602f672e95ddda1f18fc35502f8;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/surface.cpp b/synfig-core/trunk/src/synfig/surface.cpp index f783d9c..91e1663 100644 --- a/synfig-core/trunk/src/synfig/surface.cpp +++ b/synfig-core/trunk/src/synfig/surface.cpp @@ -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);