mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(dispserv_x11.c) Get rid of unused variable
This commit is contained in:
parent
eee2445c45
commit
0dc533d976
@ -133,7 +133,6 @@ static bool x11_display_server_set_resolution(void *data,
|
||||
Window window;
|
||||
XRRScreenResources *res = NULL;
|
||||
Display *dsp = NULL;
|
||||
Screen *scrn = NULL;
|
||||
int i = 0;
|
||||
int hfp = 0;
|
||||
int hsp = 0;
|
||||
@ -154,7 +153,6 @@ static bool x11_display_server_set_resolution(void *data,
|
||||
snprintf(old_mode, sizeof(old_mode), "%s", new_mode);
|
||||
|
||||
dsp = XOpenDisplay(NULL);
|
||||
scrn = DefaultScreenOfDisplay(dsp);
|
||||
screen = DefaultScreen ( dsp );
|
||||
window = RootWindow ( dsp, screen );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user