mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Yet another GCC 4 warning fixed
svn-id: r18425
This commit is contained in:
+2
-1
@@ -622,7 +622,8 @@ void ScummEngine::ditherCGA(byte *dst, int dstPitch, int x, int y, int width, in
|
||||
|
||||
for (int x1 = 0; x1 < width; x1++) {
|
||||
idx2 = (x + x1) % 2;
|
||||
*ptr++ = cgaDither[idx1][idx2][*ptr & 0xF];
|
||||
*ptr = cgaDither[idx1][idx2][*ptr & 0xF];
|
||||
ptr++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user