Kaydet (Commit) 9644b6c8 authored tarafından Michael Meeks's avatar Michael Meeks

CRC is an integer type -> mnChecksum.

Change-Id: I9e4d36105a59c5f81677d8e062106dae6f709464
üst 8ecd142d
......@@ -71,7 +71,7 @@ public:
{
updateChecksum();
assert(mbChecksumValid);
rChecksum = maChecksum;
rChecksum = mnChecksum;
return mbChecksumValid;
}
......@@ -81,8 +81,8 @@ public:
}
protected:
ChecksumType maChecksum;
bool mbChecksumValid;
ChecksumType mnChecksum;
bool mbChecksumValid;
protected:
virtual void updateChecksum() const
......@@ -97,7 +97,7 @@ protected:
{
nCrc = vcl_get_checksum(0, pBuf->mpBits, pBuf->mnScanlineSize * pBuf->mnHeight);
pThis->ReleaseBuffer(pBuf, BITMAP_READ_ACCESS);
pThis->maChecksum = nCrc;
pThis->mnChecksum = nCrc;
pThis->mbChecksumValid = true;
}
else
......
......@@ -594,7 +594,7 @@ void OpenGLSalBitmap::updateChecksum() const
pThis->CreateTexture();
}
pThis->mbChecksumValid = calcChecksumGL(pThis->maTexture, pThis->maChecksum);
pThis->mbChecksumValid = calcChecksumGL(pThis->maTexture, pThis->mnChecksum);
}
OpenGLContext* OpenGLSalBitmap::GetBitmapContext()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment