Fix crash on simpledrm
This commit is contained in:
parent
09b8f5d838
commit
37c3e0d158
1 changed files with 2 additions and 1 deletions
|
@ -382,7 +382,8 @@ void DrmPipeline::prepareModeset()
|
||||||
|
|
||||||
pending.crtc->primaryPlane()->setPending(DrmPlane::PropertyIndex::CrtcId, activePending() ? pending.crtc->id() : 0);
|
pending.crtc->primaryPlane()->setPending(DrmPlane::PropertyIndex::CrtcId, activePending() ? pending.crtc->id() : 0);
|
||||||
pending.crtc->primaryPlane()->setTransformation(DrmPlane::Transformation::Rotate0);
|
pending.crtc->primaryPlane()->setTransformation(DrmPlane::Transformation::Rotate0);
|
||||||
pending.crtc->cursorPlane()->setTransformation(DrmPlane::Transformation::Rotate0);
|
if (pending.crtc->cursorPlane())
|
||||||
|
pending.crtc->cursorPlane()->setTransformation(DrmPlane::Transformation::Rotate0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DrmPipeline::applyPendingChanges()
|
void DrmPipeline::applyPendingChanges()
|
||||||
|
|
Loading…
Reference in a new issue