Commit b2da9df8 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #8221 from csukuangfj:csukuangfj-path-2

parents 8638bba6 e827a5bd
......@@ -1893,7 +1893,7 @@ public:
// first. raw pointer access.
for (int r = 0; r < image.rows; ++r) {
Pixel* ptr = image.ptr<Pixel>(0, r);
Pixel* ptr = image.ptr<Pixel>(r, 0);
const Pixel* ptr_end = ptr + image.cols;
for (; ptr != ptr_end; ++ptr) {
ptr->x = 255;
......
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