mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 02:27:26 +00:00
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:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user