evas/gl_x11 - replace inlist counting to one api call.

This commit is contained in:
ChunEon Park 2014-05-19 18:47:20 +09:00
parent 78c9a82a14
commit 53e11f3b05
1 changed files with 1 additions and 1 deletions

View File

@ -1612,7 +1612,7 @@ eng_output_flush(void *data, Evas_Render_Mode render_mode)
Tilebuf_Rect *r;
// if partial swaps can be done use re->rects
EINA_INLIST_FOREACH(EINA_INLIST_GET(re->rects), r) num++;
num = eina_inlist_count(EINA_INLIST_GET(re->rects));
if (num > 0)
{
rects = alloca(sizeof(EGLint) * 4 * num);