mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Update dispserv_x11.c
This commit is contained in:
parent
8ff70ecbbb
commit
36fd99910a
@ -272,11 +272,11 @@ static bool x11_display_server_set_resolution(void *data,
|
||||
{
|
||||
|
||||
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)
|
||||
{
|
||||
snprintf(orig_output, sizeof(orig_output),"%s", outputs->name);
|
||||
|
||||
snprintf(output4, sizeof(output4),"xrandr --addmode %s %s",outputs->name ,new_mode);
|
||||
system(output4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user