xf86Crtc: Set mode to NULL, so nothing bad happens if crtc == NULL.
- Fix is courtesy of math_b.
This commit is contained in:
parent
f4e9a1a98f
commit
881bd15f44
|
@ -1746,7 +1746,7 @@ xf86SetScrnInfoModes (ScrnInfoPtr scrn)
|
||||||
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
|
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
|
||||||
xf86OutputPtr output;
|
xf86OutputPtr output;
|
||||||
xf86CrtcPtr crtc;
|
xf86CrtcPtr crtc;
|
||||||
DisplayModePtr last, mode;
|
DisplayModePtr last, mode = NULL;
|
||||||
|
|
||||||
output = SetCompatOutput(config);
|
output = SetCompatOutput(config);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user