Commit c8cc6715 authored by hybrid's avatar hybrid

Remove false silencing of non-functional code.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2504 dfc29bdd-3216-0410-991c-e03cc46cb475
parent ee9fbd5a
......@@ -485,10 +485,10 @@ void CImage::fill(const SColor &color)
case ECF_A8R8G8B8:
c = color.color;
break;
default:
// os::Printer::log("CImage::Format not supported", ELL_ERROR);
return;
}
if (Format != ECF_A1R5G5B5 && Format != ECF_R5G6B5 &&
Format != ECF_A8R8G8B8)
return;
memset32( Data, c, getImageDataSizeInBytes() );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment