mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 23:00:05 +01:00
xf86Crtc: Set mode to NULL, so nothing bad happens if crtc == NULL.
- Fix is courtesy of math_b.
This commit is contained in:
parent
580e96d6d4
commit
48744d20b1
1 changed files with 1 additions and 1 deletions
|
|
@ -1737,7 +1737,7 @@ xf86SetScrnInfoModes (ScrnInfoPtr scrn)
|
|||
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
|
||||
xf86OutputPtr output;
|
||||
xf86CrtcPtr crtc;
|
||||
DisplayModePtr last, mode;
|
||||
DisplayModePtr last, mode = NULL;
|
||||
|
||||
output = SetCompatOutput(config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue