Skip to content

Commit

Permalink
Improve assertion for #8
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed May 29, 2022
1 parent 0c49755 commit df8cf1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame/vulkan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl Vulkan {
pub fn luma_percent(&self, frame: &Object) -> Result<u8, Box<dyn Error>> {
assert_eq!(
1, frame.num_objects,
"Frames with multiple objects are not supported yet"
"Frames with multiple objects are not supported yet, use WLR_DRM_NO_MODIFIERS=1 as described in README and follow issue #8"
);

if self.image.borrow().is_none() {
Expand Down

0 comments on commit df8cf1f

Please sign in to comment.