Don't set subpixel order during startup; the screen won't be ready.
in xf86CrtcSetMode, scrn->pScreen will be NULL during server startup time,
so don't try to set the subpixel order. subpixel order will be set in the
randr initialization anyways.
(cherry picked from commit 5f6f8616d8
)
This commit is contained in:
parent
096965ec9c
commit
5631a67f64
|
@ -313,7 +313,8 @@ xf86CrtcSetMode (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotation,
|
|||
|
||||
/* XXX free adjustedmode */
|
||||
ret = TRUE;
|
||||
xf86CrtcSetScreenSubpixelOrder (scrn->pScreen);
|
||||
if (scrn->pScreen)
|
||||
xf86CrtcSetScreenSubpixelOrder (scrn->pScreen);
|
||||
|
||||
done:
|
||||
if (!ret) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user