diff options
Diffstat (limited to 'src/rinput.c')
| -rw-r--r-- | src/rinput.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rinput.c b/src/rinput.c index 8d3a6d9..1a157e3 100644 --- a/src/rinput.c +++ b/src/rinput.c @@ -53,12 +53,8 @@ FEATURE("scalable raw mouse input") #define USAGE_MOUSE 2 static int cx, cy, rx = 0, ry = 0; // cursor xy, remainder xy -static union { // space saving - void *inwin; - void **vtable_insys; -} U; -#define inwin U.inwin -#define vtable_insys U.vtable_insys +static void *inwin; +static void **vtable_insys; DEF_CVAR_UNREG(m_rawinput, "Use Raw Input for mouse input (SST reimplementation)", 0, CON_ARCHIVE | CON_INIT_HIDDEN) |
