mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Fix AlphaMask functions (#1425)
This commit is contained in:
@@ -115,7 +115,7 @@ public:
|
||||
MxLong GetDataSize() const { return AlignToFourByte(m_bmiHeader->biWidth) * GetBmiHeightAbs(); }
|
||||
|
||||
// FUNCTION: BETA10 0x1002c4b0
|
||||
MxBool IsTopDown()
|
||||
MxBool IsTopDown() const
|
||||
{
|
||||
if (m_bmiHeader->biCompression == BI_RGB_TOPDOWN) {
|
||||
return TRUE;
|
||||
@@ -130,7 +130,7 @@ public:
|
||||
: -p_bitmap->AlignToFourByte(p_bitmap->GetBmiWidth()))
|
||||
|
||||
// FUNCTION: BETA10 0x1002c320
|
||||
MxU8* GetStart(MxS32 p_left, MxS32 p_top)
|
||||
MxU8* GetStart(MxS32 p_left, MxS32 p_top) const
|
||||
{
|
||||
if (m_bmiHeader->biCompression == BI_RGB) {
|
||||
return m_data + p_left +
|
||||
|
Reference in New Issue
Block a user