fix: reduced ram usage

This commit is contained in:
2025-12-20 21:08:01 +01:00
parent beacb9a985
commit 09bc4d9326
2 changed files with 8 additions and 10 deletions

View File

@@ -98,7 +98,7 @@ int main(int argc, char *argv[]) {
std::function<void(int, uint32_t *)> addTo = [&target](int start,
uint32_t *arr) {
for (int c = 0; c < 3; c++) {
arr[c] += target.pixels[start + c].i >> SHIFT_AMOUNT;
arr[c] += target.pixels[start + c];
}
};