mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-05 05:20:28 +01:00
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.
This commit is contained in:
parent
0ab6c03c17
commit
5f6f8616d8
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue