forked from enlightenment/efl
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? SVN revision: 79312
This commit is contained in:
parent
7873cc2124
commit
940a75b5a8
|
@ -118,14 +118,12 @@ evas_outbuf_new_region_for_update(Outbuf *ob, int x, int y, int w, int h, int *c
|
||||||
void
|
void
|
||||||
evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x, int y, int w, int h)
|
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;
|
int bytes = 0;
|
||||||
|
|
||||||
if (!ob->priv.dest) return;
|
if (!ob->priv.dest) return;
|
||||||
|
|
||||||
bytes = ((w * sizeof(int)) * h);
|
bytes = ((w * sizeof(int)) * h);
|
||||||
dest = (DATA32 *)((DATA8 *)(ob->priv.dest) + (y * bytes) + (x * 4));
|
|
||||||
|
|
||||||
if (!ob->priv.buffer)
|
if (!ob->priv.buffer)
|
||||||
{
|
{
|
||||||
Gfx_Func_Copy func;
|
Gfx_Func_Copy func;
|
||||||
|
@ -140,7 +138,7 @@ evas_outbuf_push_updated_region(Outbuf *ob, RGBA_Image *update, int x, int y, in
|
||||||
src = update->image.data + (yy * update->cache_entry.w);
|
src = update->image.data + (yy * update->cache_entry.w);
|
||||||
dst = (DATA32 *)((DATA8 *)(ob->priv.dest) +
|
dst = (DATA32 *)((DATA8 *)(ob->priv.dest) +
|
||||||
((y + yy) * bytes));
|
((y + yy) * bytes));
|
||||||
func(src, dst, w);
|
func(src, dst + x, w);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue