Commit 5631a67f authored by Keith Packard's avatar Keith Packard Committed by Keith Packard

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 5f6f8616)
parent 096965ec
......@@ -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);
if (!ret) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment