From 192eba3898f2fdb86efa3931fba32a40591236c1 Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Wed, 14 Feb 2001 02:49:37 +0000 Subject: [PATCH] Compiles now, works too. --- source/context_x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/context_x11.c b/source/context_x11.c index a7ad065..0e69d32 100644 --- a/source/context_x11.c +++ b/source/context_x11.c @@ -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) &&