explicitly call free method of Blitbuffer

pull/428/head
chrox 11 years ago
parent 8e4516b824
commit 14e94f39a4

@ -151,6 +151,7 @@ function CreDocument:drawCurrentView(target, x, y, rect, pos)
tile_bb = Blitbuffer.new(rect.w, rect.h)
self._document:drawCurrentPage(tile_bb)
target:blitFrom(tile_bb, x, y, 0, 0, rect.w, rect.h)
tile_bb:free()
end
function CreDocument:drawCurrentViewByPos(target, x, y, rect, pos)

Loading…
Cancel
Save