mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Fixed Crash On Core Load
This commit is contained in:
parent
dc19dd3db4
commit
afc3badd72
@ -276,6 +276,7 @@ static bool x11_display_server_set_resolution(void *data,
|
||||
}
|
||||
}
|
||||
XRRFreeScreenResources(resources);
|
||||
XCloseDisplay(dpy);
|
||||
}
|
||||
else if (monitor_index != 20)
|
||||
{
|
||||
@ -619,9 +620,10 @@ static void x11_display_server_destroy(void *data)
|
||||
}
|
||||
}
|
||||
}
|
||||
XRRFreeScreenResources(resources);
|
||||
XCloseDisplay(dpy);
|
||||
}
|
||||
XRRFreeScreenResources(resources);
|
||||
XCloseDisplay(dpy);
|
||||
|
||||
#endif
|
||||
|
||||
if (dispserv)
|
||||
|
Loading…
x
Reference in New Issue
Block a user