diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/scaler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scaler.cpp b/common/scaler.cpp index 77ebdb951a..766738eeef 100644 --- a/common/scaler.cpp +++ b/common/scaler.cpp @@ -148,7 +148,7 @@ void Normal3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit const uint32 dstPitch2 = dstPitch * 2; const uint32 dstPitch3 = dstPitch * 3; - assert(((int)dstPtr & 3) == 0); + assert(((int)dstPtr & 1) == 0); while (height--) { r = dstPtr; for (int i = 0; i < width; ++i, r += 6) { |