From 39e380f7542b6f409bae71d66531b88b6b42f590 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 21 Apr 2015 13:58:41 -0400 Subject: [PATCH] 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 --- src/lib/ecore_drm/ecore_drm_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.7.4