idle_flush

SVN revision: 30396
This commit is contained in:
Gustavo Sverzut Barbieri 2007-06-18 17:48:14 +00:00
parent 02dbcb720a
commit 274206e9fb
1 changed files with 10 additions and 2 deletions

View File

@ -307,8 +307,16 @@ eng_output_idle_flush(void *data)
Render_Engine *re;
re = (Render_Engine *)data;
/* FIXME: clean up any resources kept around between renders in case
* we are animating a lot and want high fps */
if (re->shbuf)
{
evas_software_x11_x_output_buffer_free(re->shbuf, 0);
re->shbuf = NULL;
}
if (re->clip_rects)
{
XDestroyRegion(re->clip_rects);
re->clip_rects = NULL;
}
}