mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Fix C89_BUILD issue
This commit is contained in:
parent
11e65e20b7
commit
15ace7c0cb
@ -595,13 +595,14 @@ static void x11_display_server_destroy(void *data)
|
||||
|
||||
if (outputs->connection == RR_Connected)
|
||||
{
|
||||
XRRCrtcInfo *crtc = NULL;
|
||||
XRRAddOutputMode(dpy,
|
||||
res->outputs[x11_monitor_index], swdeskmode->id);
|
||||
XSync(dpy, False);
|
||||
strlcpy(orig_output, outputs->name, sizeof(orig_output));
|
||||
XRRCrtcInfo *crtc = XRRGetCrtcInfo(dpy, resources, outputs->crtc);
|
||||
crtc->mode = swdeskmode->id;
|
||||
crtc->width = swdeskmode->width;
|
||||
crtc = XRRGetCrtcInfo(dpy, resources, outputs->crtc);
|
||||
crtc->mode = swdeskmode->id;
|
||||
crtc->width = swdeskmode->width;
|
||||
crtc->height = swdeskmode->height;
|
||||
XRRSetCrtcConfig(dpy, res,
|
||||
res->crtcs[x11_monitor_index],
|
||||
|
Loading…
x
Reference in New Issue
Block a user