From 8df4533747c725948afde838b13441c8146d7f45 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 5 Jul 2005 13:02:21 +0000 Subject: [PATCH] added a #define DIRECTINPUT_VERSION to hush warnings and make it work on dinput3 even if dinput8 headers are installed git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5506 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_wgl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vid_wgl.c b/vid_wgl.c index f35eec97..d15c5b0a 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // gl_vidnt.c -- NT GL vid component +// we don't need a very new dinput +#define DIRECTINPUT_VERSION 0x0300 + #include "quakedef.h" #include #include -- 2.39.2