[KMS] Correctly restore crtc on exit.

This commit is contained in:
thefiddler 2014-07-18 10:04:57 +02:00
parent 91055336c0
commit 51c05ea1a5

View file

@ -286,8 +286,8 @@ namespace OpenTK.Platform.Linux
Drm.ModeSetCrtc(fd,
wnd.DisplayDevice.pCrtc->crtc_id,
wnd.DisplayDevice.pCrtc->buffer_id,
wnd.DisplayDevice.pCrtc->width,
wnd.DisplayDevice.pCrtc->height,
wnd.DisplayDevice.pCrtc->x,
wnd.DisplayDevice.pCrtc->y,
&connector_id,
1,
&mode);