mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 02:55:42 +00:00
[KMS] Correctly restore crtc on exit.
This commit is contained in:
parent
91055336c0
commit
51c05ea1a5
|
@ -286,8 +286,8 @@ namespace OpenTK.Platform.Linux
|
||||||
Drm.ModeSetCrtc(fd,
|
Drm.ModeSetCrtc(fd,
|
||||||
wnd.DisplayDevice.pCrtc->crtc_id,
|
wnd.DisplayDevice.pCrtc->crtc_id,
|
||||||
wnd.DisplayDevice.pCrtc->buffer_id,
|
wnd.DisplayDevice.pCrtc->buffer_id,
|
||||||
wnd.DisplayDevice.pCrtc->width,
|
wnd.DisplayDevice.pCrtc->x,
|
||||||
wnd.DisplayDevice.pCrtc->height,
|
wnd.DisplayDevice.pCrtc->y,
|
||||||
&connector_id,
|
&connector_id,
|
||||||
1,
|
1,
|
||||||
&mode);
|
&mode);
|
||||||
|
|
Loading…
Reference in a new issue