From 29f088f349da3a882892909e3a97eac572563351 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 29 Feb 2000 06:45:26 +0000 Subject: [PATCH] make gl compile/link with the new cvar system --- common/gl_vidglx.c | 1 + common/in_x11.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/gl_vidglx.c b/common/gl_vidglx.c index 7824375..e8d7a4c 100644 --- a/common/gl_vidglx.c +++ b/common/gl_vidglx.c @@ -85,6 +85,7 @@ unsigned char d_15to8table[65536]; cvar_t *vid_mode; cvar_t *vid_glx_fullscreen; extern cvar_t *gl_triplebuffer; +extern cvar_t *vid_dga_mouseaccel; #ifdef HAS_DGA static int nummodes; diff --git a/common/in_x11.c b/common/in_x11.c index 9e9c442..f6cece8 100644 --- a/common/in_x11.c +++ b/common/in_x11.c @@ -68,7 +68,7 @@ cvar_t *m_filter; #ifdef HAS_DGA qboolean dgamouse = 0; //static cvar_t vid_dga_mouseaccel = {"vid_dga_mouseaccel", "1", CVAR_ARCHIVE}; -static cvar_t *vid_dga_mouseaccel; +cvar_t *vid_dga_mouseaccel; #endif static qboolean mouse_avail;