~emersion/vaapi-decoder

cb0a71c7f3750684fe8af3bfb71d0964173b4844 — Simon Ser 6 months ago cd01be8 gamescope-hack
Remove LINEAR from the modifier block-list

The compositor is a better place for this.
1 files changed, 0 insertions(+), 6 deletions(-)

M main.c
M main.c => main.c +0 -6
@@ 298,12 298,6 @@ static void handle_dmabuf_modifier(void *data, struct zwp_linux_dmabuf_v1 *linux
		return;
	}

	// Ignore LINEAR, because AMD hardware can't directly scan-out rotated
	// LINEAR buffers.
	if (mod == DRM_FORMAT_MOD_LINEAR) {
		return;
	}

	modifiers[modifiers_len] = mod;
	modifiers_len++;