From 6a3e312d9913c6ba6e6997fef14e6b7c66f33f44 Mon Sep 17 00:00:00 2001 From: Marcus Sundberg <mackan@stacken.kth.se> Date: Sun, 9 Jan 2000 06:45:17 +0000 Subject: [PATCH] Fixed case values. --- common/gl_vidlinuxglx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/gl_vidlinuxglx.c b/common/gl_vidlinuxglx.c index 0b4a122..7602ff9 100644 --- a/common/gl_vidlinuxglx.c +++ b/common/gl_vidlinuxglx.c @@ -817,7 +817,7 @@ void VID_ExtraOptionDraw(void) M_DrawCheckbox (220, 128, _windowed_mouse.value); -#if defined(XMESA) && defined(HAS_DGA) +#if defined(XMESA) // Mesa has a fullscreen / windowed glx hack. M_Print (16, 136, " Fullscreen"); M_DrawCheckbox (220, 136, vid_glx_mode.value); @@ -829,11 +829,11 @@ void VID_ExtraOptionCmd(int option_cursor) { switch(option_cursor) { - case 12: // _windowed_mouse + case 1: // _windowed_mouse Cvar_SetValue ("_windowed_mouse", !_windowed_mouse.value); break; - case 13: + case 2: Cvar_SetValue ("vid_glx_mode",!vid_glx_mode.value); #ifdef XMESA if(XMesaSetFXmode(vid_glx_mode.value ? XMESA_FX_FULLSCREEN : XMESA_FX_WINDOW))