warn instead of fatal if bitmap is incompatible.
[vuplus_dvbapp] / lib / gdi / lcd.cpp
index 528b408..d9d2367 100644 (file)
@@ -18,6 +18,7 @@ eLCD::eLCD(eSize size): res(size)
 {
        locked=0;
        _buffer=new unsigned char[res.height()*res.width()];
+       memset(_buffer, 0, res.height()*res.width());
        _stride=res.width();
 }