Fix crash on simpledrm

This commit is contained in:
nerdopolis turfwalker 2021-12-12 23:26:46 -05:00 committed by Xaver Hugl
parent 09b8f5d838
commit 37c3e0d158

View file

@ -382,6 +382,7 @@ void DrmPipeline::prepareModeset()
pending.crtc->primaryPlane()->setPending(DrmPlane::PropertyIndex::CrtcId, activePending() ? pending.crtc->id() : 0);
pending.crtc->primaryPlane()->setTransformation(DrmPlane::Transformation::Rotate0);
if (pending.crtc->cursorPlane())
pending.crtc->cursorPlane()->setTransformation(DrmPlane::Transformation::Rotate0);
}