зеркало из https://github.com/mozilla/gecko-dev.git
r=pavlov, sr=blizzard (OS/2 only change) #ifdef XP_WIN needs to be XP_OS2 as well
This commit is contained in:
Родитель
6cb69b170f
Коммит
be60da33e3
|
@ -746,14 +746,16 @@ void imgContainer::BuildCompositeMask(gfxIImageFrame *aCompositingFrame, gfxIIma
|
|||
|
||||
PRInt32 offset;
|
||||
|
||||
#ifdef XP_WIN // Windows has the funky bottom up data storage we need to account for
|
||||
// Windows and OS/2 have the funky bottom up data storage we need to account for
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
offset = ((heightComposite - 1) * abprComposite) - y*abprComposite;
|
||||
#else
|
||||
offset = y*abprComposite;
|
||||
#endif
|
||||
PRUint8* alphaLine = compositingAlphaData + offset;
|
||||
|
||||
#ifdef XP_WIN // Windows has the funky bottom up data storage we need to account for
|
||||
// Windows and OS/2 have the funky bottom up data storage we need to account for
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
offset = ((heightOverlay - 1) * abprOverlay) - i*abprOverlay;
|
||||
#else
|
||||
offset = i*abprOverlay;
|
||||
|
|
Загрузка…
Ссылка в новой задаче