forked from enlightenment/efl
evas/render2: Fix check to drop previous map from cache.
SVN revision: 76551
This commit is contained in:
parent
94732fddd9
commit
ce85aa2b48
|
@ -43,8 +43,14 @@ evas_object_change_reset(Evas_Object *obj)
|
||||||
void
|
void
|
||||||
evas_object_cur_prev(Evas_Object *obj)
|
evas_object_cur_prev(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
if (!obj->prev.valid_map && (obj->prev.map == obj->cur.map))
|
if (!obj->prev.valid_map)
|
||||||
obj->prev.map = NULL;
|
{
|
||||||
|
if (obj->prev.map != obj->cur.map)
|
||||||
|
evas_map_free(obj->prev.map);
|
||||||
|
if (obj->cache_map == obj->prev.map)
|
||||||
|
obj->cache_map = NULL;
|
||||||
|
obj->prev.map = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (obj->cur.map != obj->prev.map)
|
if (obj->cur.map != obj->prev.map)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue