Update dispserv_x11.c

This commit is contained in:
alphanu1 2019-01-31 11:17:56 +00:00
parent 8344b0d049
commit 0f400b433b

View File

@ -149,7 +149,7 @@ static bool x11_display_server_set_resolution(void *data,
float pixel_clock = 0;
crt_en = true;
sprintf(old_mode,"%s", new_mode);
Display* dsp = XOpenDisplay(NULL);
Screen* scrn = DefaultScreenOfDisplay(dsp);
XRRScreenResources *res;