ecore-drm: Change ecore_drm_fb_set warning level
authorChris Michael <cp.michael@samsung.com>
Tue, 21 Apr 2015 17:58:41 +0000 (13:58 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 21 Apr 2015 17:59:56 +0000 (13:59 -0400)
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 <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_fb.c

index cfe4168..a3e3b37 100644 (file)
@@ -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;
      }