diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-10-19 10:55:22 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-10-19 10:55:22 +0000 |
| commit | 636a8f5214f3745f81169e3567f2a3fb6e2e4a9b (patch) | |
| tree | 83cb1c2a27dfeffaf0e744a2f7418595942c318d /lib/gdi/lcd.cpp | |
| parent | cd9e7b448d4e3a5056d85033d4a6a2b4c5b92a24 (diff) | |
| download | enigma2-636a8f5214f3745f81169e3567f2a3fb6e2e4a9b.tar.gz enigma2-636a8f5214f3745f81169e3567f2a3fb6e2e4a9b.zip | |
initialize LCD framebuffer
Diffstat (limited to 'lib/gdi/lcd.cpp')
| -rw-r--r-- | lib/gdi/lcd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gdi/lcd.cpp b/lib/gdi/lcd.cpp index 528b408b..d9d23678 100644 --- 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()]; + memset(_buffer, 0, res.height()*res.width()); _stride=res.width(); } |
