Skip to content
Commit 99553750 authored by Scott Anderson's avatar Scott Anderson
Browse files

compositor-drm: Don't set linear modifier when not supported



This will cause gbm_surface_create_with_modifiers to fail on drivers
where modifiers are not yet supported (e.g. amdgpu). We need to make
sure we only end up using gbm_surface_create in this case.

This fixes the remoting plugin on these drivers.

Signed-off-by: default avatarScott Anderson <scott.anderson@collabora.com>
parent be57857a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment