low resoluiton fis for RetroArch exit

On exit changes
This commit is contained in:
Ben 2020-09-16 14:13:04 +01:00
parent 17809688a6
commit b33f0b9121
1 changed files with 1 additions and 9 deletions

View File

@ -268,7 +268,7 @@ static bool x11_display_server_set_resolution(void *data,
XSync(dpy, False);
XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime,
crtc->x, crtc->y, crtc->mode, crtc->rotation,
crtc->outputs, crtc->noutput);
crtc->outputs, crtc->noutput);
XSync(dpy, False);
XRRFreeCrtcInfo(crtc);
@ -571,10 +571,6 @@ static void x11_display_server_destroy(void *data)
XRRSetCrtcConfig(dpy, res, res->crtcs[i], CurrentTime,
crtc->x, crtc->y, crtc->mode, crtc->rotation,
crtc->outputs, crtc->noutput);
XRRSetScreenSize(dpy, window,
crt_rrmode.width, crt_rrmode.height,
(int) ((25.4 * crt_rrmode.width) / 96.0),
(int) ((25.4 * crt_rrmode.height) / 96.0));
XSync(dpy, False);
@ -608,10 +604,6 @@ static void x11_display_server_destroy(void *data)
CurrentTime, crtc->x, crtc->y,
crtc->mode, crtc->rotation,
crtc->outputs, crtc->noutput);
XRRSetScreenSize(dpy, window,
crt_rrmode.width, crt_rrmode.height,
(int) ((25.4 * crt_rrmode.width) / 96.0),
(int) ((25.4 * crt_rrmode.height) / 96.0));
XSync(dpy, False);
XRRFreeCrtcInfo(crtc);