Skip to content

Commit 6b8d515

Browse files
committed
Merge pull request #3167 from cudawarped:issue_3163
2 parents 933b011 + 54a7c7c commit 6b8d515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cudafilters/src/filtering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ namespace
281281
Size wholeSize;
282282
src.locateROI(wholeSize, ofs);
283283

284-
GpuMat srcWhole(wholeSize, src.type(), src.datastart);
284+
GpuMat srcWhole(wholeSize, src.type(), src.datastart, src.step);
285285

286286
func_(srcWhole, ofs.x, ofs.y, dst, kernel_.ptr<float>(),
287287
kernel_.cols, kernel_.rows, anchor_.x, anchor_.y,

0 commit comments

Comments
 (0)