r=pavlov, sr=blizzard (OS/2 only change)
#ifdef XP_WIN needs to be XP_OS2 as well
This commit is contained in:
mkaply%us.ibm.com 2001-12-23 03:21:15 +00:00
Родитель 6cb69b170f
Коммит be60da33e3
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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;