aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/coktelvideo/coktelvideo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp
index 2b0ae79186..b33cc0981f 100644
--- a/graphics/video/coktelvideo/coktelvideo.cpp
+++ b/graphics/video/coktelvideo/coktelvideo.cpp
@@ -353,6 +353,8 @@ void Imd::setVideoMemory() {
_vidMem = new byte[_width * _height];
_vidMemWidth = _width;
_vidMemHeight = _height;
+
+ memset(_vidMem, 0, _width * _height);
}
}