diff --git a/src/modules/evas/engines/drm/evas_outbuf.c b/src/modules/evas/engines/drm/evas_outbuf.c index cfe1b3ef8e..3530087883 100644 --- a/src/modules/evas/engines/drm/evas_outbuf.c +++ b/src/modules/evas/engines/drm/evas_outbuf.c @@ -32,12 +32,12 @@ _evas_outbuf_buffer_swap(Outbuf *ob, Eina_Rectangle *rects, unsigned int count) buff = ob->priv.buffer[ob->priv.curr]; - /* if this buffer is not valid, we need to set it */ - ecore_drm_fb_set(ob->info->info.dev, buff); - /* mark the fb as dirty */ ecore_drm_fb_dirty(buff, rects, count); + /* if this buffer is not valid, we need to set it */ + ecore_drm_fb_set(ob->info->info.dev, buff); + /* send this buffer to the crtc */ ecore_drm_fb_send(ob->info->info.dev, buff, _evas_outbuf_cb_pageflip, ob); }