]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
fixed several bugs with mouse grabbing
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index e76fbae62fe736835a88140d78cef6df141c7606..9f9e86d7eeff158cd67911c92e9a249e71cc4571 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -37,6 +37,9 @@ typedef struct viddef_s
        qboolean userefreshrate;
        int stereobuffer;
        int samples;
+
+       // these are used for state tracking
+       qboolean mouseaim;
 } viddef_t;
 
 // global video state