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: ...@@ -71,7 +71,7 @@ public:
{ {
updateChecksum(); updateChecksum();
assert(mbChecksumValid); assert(mbChecksumValid);
rChecksum = maChecksum; rChecksum = mnChecksum;
return mbChecksumValid; return mbChecksumValid;
} }
...@@ -81,7 +81,7 @@ public: ...@@ -81,7 +81,7 @@ public:
} }
protected: protected:
ChecksumType maChecksum; ChecksumType mnChecksum;
bool mbChecksumValid; bool mbChecksumValid;
protected: protected:
...@@ -97,7 +97,7 @@ protected: ...@@ -97,7 +97,7 @@ protected:
{ {
nCrc = vcl_get_checksum(0, pBuf->mpBits, pBuf->mnScanlineSize * pBuf->mnHeight); nCrc = vcl_get_checksum(0, pBuf->mpBits, pBuf->mnScanlineSize * pBuf->mnHeight);
pThis->ReleaseBuffer(pBuf, BITMAP_READ_ACCESS); pThis->ReleaseBuffer(pBuf, BITMAP_READ_ACCESS);
pThis->maChecksum = nCrc; pThis->mnChecksum = nCrc;
pThis->mbChecksumValid = true; pThis->mbChecksumValid = true;
} }
else else
......
...@@ -594,7 +594,7 @@ void OpenGLSalBitmap::updateChecksum() const ...@@ -594,7 +594,7 @@ void OpenGLSalBitmap::updateChecksum() const
pThis->CreateTexture(); pThis->CreateTexture();
} }
pThis->mbChecksumValid = calcChecksumGL(pThis->maTexture, pThis->maChecksum); pThis->mbChecksumValid = calcChecksumGL(pThis->maTexture, pThis->mnChecksum);
} }
OpenGLContext* OpenGLSalBitmap::GetBitmapContext() 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