Merge pull request #142 from mattdeak/0.10

Type fix to ImageDataLayout construction under the wgu-types feature in nokhwa-core
This commit is contained in:
lain ping tool
2023-09-27 10:39:41 +09:00
committed by GitHub
+2 -2
View File
@@ -227,8 +227,8 @@ pub trait CaptureBackendTrait {
&frame,
ImageDataLayout {
offset: 0,
bytes_per_row: width_nonzero,
rows_per_image: height_nonzero,
bytes_per_row: Some(width_nonzero),
rows_per_image: Some(height_nonzero),
},
texture_size,
);