fill background of intermediary blitbuffers

we need to explicitly fill those buffers, now that white is not "0"
anymore.
This commit is contained in:
Hans-Werner Hilse
2014-10-22 16:40:24 +02:00
parent 5982e24d57
commit ba40cc56e9
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ local TextWidget = Widget:new{
--function TextWidget:_render()
--local h = self.face.size * 1.3
--self._bb = Blitbuffer.new(self._maxlength, h)
--self._bb:fill(Blitbuffer.COLOR_WHITE)
--self._length = RenderText:renderUtf8Text(self._bb, 0, h*0.8, self.face, self.text, true, self.bold)
--end