mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 19:21:27 +00:00
Fix restore resolution for single output autodetect
This commit is contained in:
parent
b69938078d
commit
1d8dd9bb9e
@ -268,6 +268,8 @@ static bool x11_display_server_set_resolution(void *data,
|
|||||||
{
|
{
|
||||||
for (int i = 0; i < res->noutput; i++)
|
for (int i = 0; i < res->noutput; i++)
|
||||||
{
|
{
|
||||||
|
if (res->noutput < 2)
|
||||||
|
snprintf(orig_output, sizeof(orig_output),"%s", outputs->name);
|
||||||
|
|
||||||
|
|
||||||
XRROutputInfo *outputs = XRRGetOutputInfo (dsp, res, res->outputs[i]);
|
XRROutputInfo *outputs = XRRGetOutputInfo (dsp, res, res->outputs[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user