From: havoc Date: Tue, 5 Jul 2005 13:02:21 +0000 (+0000) Subject: added a #define DIRECTINPUT_VERSION to hush warnings and make it work on dinput3... X-Git-Tag: xonotic-v0.1.0preview~4680 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8df4533747c725948afde838b13441c8146d7f45;p=xonotic%2Fdarkplaces.git 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 --- 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