mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Painter: Fixed BufferPainter.Create bug
git-svn-id: svn://ultimatepp.org/upp/trunk@13653 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
67e0101d85
commit
2ff837b4b3
2 changed files with 3 additions and 1 deletions
|
|
@ -167,6 +167,8 @@ void BufferPainter::Create(ImageBuffer& ib, int mode_)
|
|||
size = ib.GetSize();
|
||||
|
||||
co_subpixel.Clear();
|
||||
co_span.Clear();
|
||||
span.Clear();
|
||||
}
|
||||
|
||||
SyncCo();
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ void Rasterizer::Create(int cx, int cy, bool subpixel)
|
|||
|
||||
cliprect = Sizef(sz);
|
||||
Init();
|
||||
Reset();
|
||||
Reset(); // TODO: Can be removed (cell is just constructed, Init called above)
|
||||
}
|
||||
|
||||
void Rasterizer::Free()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue