Skip to content

Commit

Permalink
Allow arbitrary primary plane scanout formats
Browse files Browse the repository at this point in the history
This reverts a change accidentally introduced in 9898913 which would
prevent primary plane scanout unless the scanout format matches the
primary plane's swapchain format. Instead the preferred buffer formats
for the primary plane scanout are used again.
  • Loading branch information
chrisduerr committed Jan 10, 2025
1 parent 88f9306 commit 54420ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ impl OutputDevice {
&mut self.gles,
textures,
CLEAR_COLOR,
FrameFlags::DEFAULT,
FrameFlags::DEFAULT | FrameFlags::ALLOW_PRIMARY_PLANE_SCANOUT_ANY,
)?;
let rendered = !frame_result.is_empty;

Expand Down

0 comments on commit 54420ca

Please sign in to comment.