From b5e7641bcef8a1bc80ae6b70d36d47d52d10cdac Mon Sep 17 00:00:00 2001 From: Nelson Rush Date: Sat, 15 Jan 2000 04:41:33 +0000 Subject: [PATCH] do_grab() was a typo, should be do_grabs() --- acconfig.h | 8 ++++++-- common/gl_vidglx.c | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/acconfig.h b/acconfig.h index 736ac74..81c6875 100644 --- a/acconfig.h +++ b/acconfig.h @@ -2,7 +2,9 @@ #undef VERSION /* Define if you have the XFree86 DGA extension */ -#undef HAS_DGA +#ifndef HAS_DGA +#define HAS_DGA +#endif /* If your version of OpenGL uses APIENTRY, define GLAPIENTRY to be APIENTRY*/ #undef GLAPIENTRY @@ -26,7 +28,9 @@ #undef USE_BSD_CD /* Define this to use experimental code */ -#undef _EXPERIMENTAL_ +#ifndef _EXPERIMENTAL_ +#define _EXPERIMENTAL_ +#endif #if defined(X11) # define OUTPUT_STR "X11" diff --git a/common/gl_vidglx.c b/common/gl_vidglx.c index 9f0968d..aff4837 100644 --- a/common/gl_vidglx.c +++ b/common/gl_vidglx.c @@ -346,7 +346,7 @@ do_fullscreen(int full) /* We are in XMesa fullscren mode and couldn't switch back to windowed mode ??? */ Cvar_SetValue("vid_glx_fullscreen", fullscreen); - do_grab(mouse_shouldgrab); + do_grabs(mouse_shouldgrab); return; } #endif