Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix drm::control::Device::add_planar_buffer when GBM Bo uses DrmModif…
…ier::Invalid When adding a GBM supplied buffer via add_planar_buffer, since commit 6cb3a27 the modifiers are fetched directly from the planar buffer trait. What the code does not take into account though is when the GBM bo returns DrmModifier::Invalid. In that case add_fb2 expects 0 as modifier in the array for each plane, instead of DRM_FORMAT_MOD_INVALID.
- Loading branch information