forked from enlightenment/efl
ecore-drm2: Change ERR to WRN
No real need for these to be ERR because we are not going to crash if these happen anyway.
This commit is contained in:
parent
0880772442
commit
92faf6a0e1
|
@ -137,10 +137,10 @@ _ecore_drm2_fb_destroy(Ecore_Drm2_Fb *fb)
|
||||||
{
|
{
|
||||||
EINA_SAFETY_ON_NULL_RETURN(fb);
|
EINA_SAFETY_ON_NULL_RETURN(fb);
|
||||||
|
|
||||||
if (!fb->dead) ERR("Destroying an fb that hasn't been discarded");
|
if (!fb->dead) WRN("Destroying an fb that hasn't been discarded");
|
||||||
|
|
||||||
if (fb->scanout_count)
|
if (fb->scanout_count)
|
||||||
ERR("Destroyed fb on scanout %d times.", fb->scanout_count);
|
WRN("Destroyed fb on scanout %d times.", fb->scanout_count);
|
||||||
|
|
||||||
if (fb->mmap) munmap(fb->mmap, fb->sizes[0]);
|
if (fb->mmap) munmap(fb->mmap, fb->sizes[0]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue