mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-25 21:53:32 -04:00
Update mxvideopresenter.cpp
This commit is contained in:
parent
d5d4a8b0ff
commit
0edbd9dab9
@ -57,7 +57,7 @@ MxVideoPresenter::AlphaMask::AlphaMask(const MxBitmap& p_bitmap)
|
||||
// If this is a bottom-up DIB, we will walk it in reverse.
|
||||
// TODO: Same rounding trick as in MxBitmap
|
||||
MxS32 rowSeek = ((m_width + 3) & -4);
|
||||
if (p_bitmap.GetBmiHeader()->biCompression != 16 && p_bitmap.GetBmiHeight() > 0)
|
||||
if (p_bitmap.GetBmiHeader()->biCompression != BI_RGB_TOPDOWN && p_bitmap.GetBmiHeight() > 0)
|
||||
rowSeek = -rowSeek;
|
||||
|
||||
// The actual offset into the m_bitmask array. The two for-loops
|
||||
|
Loading…
x
Reference in New Issue
Block a user