forked from enlightenment/efl
small thing - internal path. onebuf mode was broken, make it work
again. only useful if explicitly turned on in code which is it snt atm. SVN revision: 77034
This commit is contained in:
parent
06bb70765e
commit
012301b7f6
|
@ -259,7 +259,8 @@ evas_software_xcb_outbuf_new_region_for_update(Outbuf *buf, int x, int y, int w,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!eina_array_push(&buf->priv.onebuf_regions, rect))
|
if ((eina_array_push(&buf->priv.onebuf_regions, rect)) &&
|
||||||
|
(buf->priv.onebuf))
|
||||||
{
|
{
|
||||||
if (cx) *cx = x;
|
if (cx) *cx = x;
|
||||||
if (cy) *cy = y;
|
if (cy) *cy = y;
|
||||||
|
|
|
@ -382,7 +382,8 @@ evas_software_xlib_outbuf_new_region_for_update(Outbuf *buf, int x, int y, int w
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!eina_array_push(&buf->priv.onebuf_regions, rect))
|
if ((eina_array_push(&buf->priv.onebuf_regions, rect)) &&
|
||||||
|
(buf->priv.onebuf))
|
||||||
{
|
{
|
||||||
*cx = x;
|
*cx = x;
|
||||||
*cy = y;
|
*cy = y;
|
||||||
|
|
Loading…
Reference in New Issue