git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd9e7b4
)
initialize LCD framebuffer
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 19 Oct 2006 10:55:22 +0000
(10:55 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 19 Oct 2006 10:55:22 +0000
(10:55 +0000)
lib/gdi/lcd.cpp
patch
|
blob
|
history
diff --git
a/lib/gdi/lcd.cpp
b/lib/gdi/lcd.cpp
index 528b408b3fe4238e2a3507b0cef356a2a81eb909..d9d236780863b4505a9588c735ed625a6ffadce5 100644
(file)
--- a/
lib/gdi/lcd.cpp
+++ b/
lib/gdi/lcd.cpp
@@
-18,6
+18,7
@@
eLCD::eLCD(eSize size): res(size)
{
locked=0;
_buffer=new unsigned char[res.height()*res.width()];
{
locked=0;
_buffer=new unsigned char[res.height()*res.width()];
+ memset(_buffer, 0, res.height()*res.width());
_stride=res.width();
}
_stride=res.width();
}