mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-06 07:16:17 +00:00
fixing small error
This commit is contained in:
@@ -85,13 +85,13 @@ namespace ComSquare::PPU::Utils
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
std::for_each(bufferSrc.begin(), bufferSrc.end(), [&bufferDest, &i, &j](auto &sourceRow) {
|
||||
i++;
|
||||
std::for_each(sourceRow.begin(), sourceRow.end(), [&bufferDest, &i, &j](auto &pixel) {
|
||||
if (pixel > 0xFF)
|
||||
bufferDest[i][j] = pixel;
|
||||
j++;
|
||||
});
|
||||
j = 0;
|
||||
i++;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user