onscreen/native: Don't try to set modes before client buffer scanout

We explicitly don't allow direct client scanout when mode setting,
ensuring modes are set here is unnecessary.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2854>
This commit is contained in:
Jonas Ådahl 2022-06-09 16:10:59 +02:00 committed by Marge Bot
parent dcbe32f39f
commit 625a9e274a

View File

@ -1332,7 +1332,6 @@ meta_onscreen_native_direct_scanout (CoglOnscreen *onscreen,
}
}
ensure_crtc_modes (onscreen);
meta_onscreen_native_flip_crtc (onscreen,
onscreen_native->view,
onscreen_native->crtc,