mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-19 05:11:53 +00:00
Revert "Revert "Linux: DRM modifier 0 is valid""
This reverts commit e5c2ad2069
.
This commit is contained in:
parent
e5c2ad2069
commit
512e581d56
@ -475,7 +475,7 @@ std::optional<rgb_t> import_source(display_t::pointer egl_display, const surface
|
||||
attribs[atti++] = plane_attr.pitch;
|
||||
attribs[atti++] = xrgb.pitches[x];
|
||||
|
||||
if(xrgb.modifier && xrgb.modifier != DRM_FORMAT_MOD_INVALID) {
|
||||
if(xrgb.modifier != DRM_FORMAT_MOD_INVALID) {
|
||||
attribs[atti++] = plane_attr.lo;
|
||||
attribs[atti++] = xrgb.modifier & 0xFFFFFFFF;
|
||||
attribs[atti++] = plane_attr.hi;
|
||||
|
Loading…
Reference in New Issue
Block a user