2984f36c72
In the absence of universal planes support, drm_output_find_special_plane() sets the plane format to zero as a placeholder. Then in drm_output_init_planes() it sets the format to output->gbm_format. As output->gbm_format is already set by the time we call drm_output_find_special_plane(), simply set the plane format to it directly in this function. This makes the code clearer, as there is no reason to use the placeholder. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> |
||
---|---|---|
.. | ||
drm-gbm.c | ||
drm-internal.h | ||
drm-virtual.c | ||
drm.c | ||
fb.c | ||
kms.c | ||
libbacklight.c | ||
libbacklight.h | ||
meson.build | ||
modes.c | ||
state-helpers.c | ||
state-propose.c | ||
vaapi-recorder.c | ||
vaapi-recorder.h |