mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
Compiles now, works too.
This commit is contained in:
parent
96722e9137
commit
192eba3898
1 changed files with 2 additions and 2 deletions
|
@ -270,13 +270,13 @@ x11_set_vidmode (int width, int height)
|
|||
|
||||
if (vid_fullscreen->int_val && vidmode_avail) {
|
||||
|
||||
int i;
|
||||
int i, dotclock;
|
||||
int best_mode = 0;
|
||||
qboolean found_mode = false;
|
||||
XF86VidModeModeLine orig_data;
|
||||
|
||||
XF86VidModeGetAllModeLines (x_disp, x_screen, &nummodes, &vidmodes);
|
||||
XF86VidModeGetModeLine (x_disp, x_screen, &orig_data);
|
||||
XF86VidModeGetModeLine (x_disp, x_screen, &dotclock, &orig_data);
|
||||
|
||||
for (i = 0; i < nummodes; i++) {
|
||||
if ((vidmodes[i]->hdisplay == orig_data.hdisplay) &&
|
||||
|
|
Loading…
Reference in a new issue