mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 05:38:05 +02:00
backend-drm: use DRM_ constants everywhere
Use DRM_ constants for pixel formats in all cases. Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
parent
2f9ca27891
commit
4a18f30225
1 changed files with 1 additions and 1 deletions
|
|
@ -3005,7 +3005,7 @@ recorder_binding(struct weston_keyboard *keyboard, const struct timespec *time,
|
|||
struct drm_output, base.link);
|
||||
|
||||
if (!output->recorder) {
|
||||
if (output->gbm_format != GBM_FORMAT_XRGB8888) {
|
||||
if (output->gbm_format != DRM_FORMAT_XRGB8888) {
|
||||
weston_log("failed to start vaapi recorder: "
|
||||
"output format not supported\n");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue