mirror of https://github.com/snes9xgit/snes9x.git
Use XRRGetScreenResourcesCurrent in both places.
This commit is contained in:
parent
a1f8cf3807
commit
82f3dc4e60
|
@ -1595,7 +1595,7 @@ S9xQueryDrivers (void)
|
|||
}
|
||||
|
||||
gui_config->allow_xrandr = 1;
|
||||
gui_config->xrr_screen_resources = XRRGetScreenResources (dpy, xid);
|
||||
gui_config->xrr_screen_resources = XRRGetScreenResourcesCurrent (dpy, xid);
|
||||
gui_config->xrr_crtc_info = XRRGetCrtcInfo (dpy,
|
||||
gui_config->xrr_screen_resources,
|
||||
gui_config->xrr_screen_resources->crtcs[0]);
|
||||
|
|
Loading…
Reference in New Issue