]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added a #define DIRECTINPUT_VERSION to hush warnings and make it work on dinput3...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jul 2005 13:02:21 +0000 (13:02 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jul 2005 13:02:21 +0000 (13:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5506 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index f35eec97ab68d78f382429a13920f0863f066e27..d15c5b0acad10c516cb13e36a7932e14493bf408 100644 (file)
--- 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 <windows.h>
 #include <dsound.h>