On 15/11/12 05:01, Enlightenment SVN wrote:
> Log:
> devilhorns: warning told me that x is not being used.. and that looks
>    bad... i added it into dest as thats obviously how it should be.. can
>    u double check?
>
>
>
> Author:       raster
> Date:         2012-11-14 21:01:16 -0800 (Wed, 14 Nov 2012)
> New Revision: 79312
> Trac:         http://trac.enlightenment.org/e/changeset/79312
>
> Modified:
>    trunk/efl/src/modules/evas/engines/wayland_shm/evas_outbuf.c
>
> Modified: trunk/efl/src/modules/evas/engines/wayland_shm/evas_outbuf.c
> ===================================================================
> --- trunk/efl/src/modules/evas/engines/wayland_shm/evas_outbuf.c      
> 2012-11-15 04:31:33 UTC (rev 79311)
> +++ trunk/efl/src/modules/evas/engines/wayland_shm/evas_outbuf.c      
> 2012-11-15 05:01:16 UTC (rev 79312)
> @@ -118,14 +118,12 @@
>   void
>   evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x, int 
> y, int w, int h)
>   {
> -   DATA32 *dst, *src, *dest;
> +   DATA32 *dst, *src;
>      int bytes = 0;
>
>      if (!ob->priv.dest) return;
>
>      bytes = ((w * sizeof(int)) * h);
> -   dest = (DATA32 *)((DATA8 *)(ob->priv.dest) + (y * bytes) + (x * 4));
> -
>      if (!ob->priv.buffer)
>        {
>           Gfx_Func_Copy func;
> @@ -140,7 +138,7 @@
>                     src = update->image.data + (yy * update->cache_entry.w);
>                     dst = (DATA32 *)((DATA8 *)(ob->priv.dest) +
>                                      ((y + yy) * bytes));
> -                  func(src, dst, w);
> +                  func(src, dst + x, w);
>                  }
>             }
>        }

Looks good Raster, thanks :) Tested here, no problems :)

Cheers,
dh



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to