mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Fix restore resolution for auto detect with single output
This commit is contained in:
parent
b1a20b6ea7
commit
5f7de58080
@ -274,6 +274,8 @@ static bool x11_display_server_set_resolution(void *data,
|
|||||||
{
|
{
|
||||||
|
|
||||||
XRROutputInfo *outputs = XRRGetOutputInfo (dsp, res, res->outputs[i]);
|
XRROutputInfo *outputs = XRRGetOutputInfo (dsp, res, res->outputs[i]);
|
||||||
|
if (res->noutput < 2)
|
||||||
|
snprintf(orig_output, sizeof(orig_output),"%s", outputs->name);
|
||||||
|
|
||||||
if (outputs->connection == RR_Connected)
|
if (outputs->connection == RR_Connected)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user