From: Chris Michael Date: Tue, 21 Apr 2015 17:58:41 +0000 (-0400) Subject: ecore-drm: Change ecore_drm_fb_set warning level X-Git-Tag: v1.14.0-beta3~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39e380f7542b6f409bae71d66531b88b6b42f590;p=platform%2Fupstream%2Fefl.git ecore-drm: Change ecore_drm_fb_set warning level Summary: This is not actually "critical", it just means that we tried to set a dumb buffer of the wrong size. Ecore_Evas will call this function again after the canvas has been resized to the proper size, so just issue a WRN here. Signed-off-by: Chris Michael --- diff --git a/src/lib/ecore_drm/ecore_drm_fb.c b/src/lib/ecore_drm/ecore_drm_fb.c index cfe4168..a3e3b37 100644 --- a/src/lib/ecore_drm/ecore_drm_fb.c +++ b/src/lib/ecore_drm/ecore_drm_fb.c @@ -175,7 +175,7 @@ ecore_drm_fb_set(Ecore_Drm_Device *dev, Ecore_Drm_Fb *fb) if ((fb->w != dev->dumb[0]->w) || (fb->h != dev->dumb[0]->h)) { /* we need to copy from fb to dev->dumb */ - CRIT("Trying to set a Framebuffer of improper size !!"); + WRN("Trying to set a Framebuffer of improper size !!"); return; }