mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
*RasterPlayer: Fixed disposal thanks to Klugier
git-svn-id: svn://ultimatepp.org/upp/trunk@15703 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3792c438ba
commit
ea57b208ec
1 changed files with 4 additions and 5 deletions
|
|
@ -79,12 +79,11 @@ bool RasterPlayer::LoadBuffer(const String &buffer) {
|
|||
raster->SeekPage(i);
|
||||
r = raster->GetPageRect(i);
|
||||
switch (raster->GetPageDisposal(i)) {
|
||||
case 1:
|
||||
case 2: iw.DrawRect(r, SColorFace());
|
||||
case 0:
|
||||
case 1: break;
|
||||
case 2: iw.DrawRect(sz, SColorFace());
|
||||
break;
|
||||
//case 2: iw.DrawRect(sz, White()); // It seems gif files do not comply with standard
|
||||
// break;
|
||||
case 4: if (i > 0)
|
||||
case 3: if (i > 0)
|
||||
previous = GetRect_(images[i-1], r);
|
||||
iw.DrawRect(sz, SColorFace());
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue