diff options
author | Nicholas Rishel <rishel.nick@gmail.com> | 2020-05-23 02:58:03 +0300 |
---|---|---|
committer | Nicholas Rishel <rishel.nick@gmail.com> | 2020-10-31 02:29:03 +0300 |
commit | 3281507f7b745052b2b58565e7e95f60b1c9c400 (patch) | |
tree | d633267b319ba2d4dc688048e7c962392a5575f4 /intern | |
parent | 538a2ac58f4afe7e46cb2471d511280db8633f70 (diff) |
Document inline that PACKETDATA and PACKETMODE modify external headers to
discourage reducing their scope to the only place they're used internally.
Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.h index a3aa511bc37..328191d837a 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.h +++ b/intern/ghost/intern/GHOST_WindowWin32.h @@ -37,6 +37,7 @@ #include <vector> #include <wintab.h> +// PACKETDATA and PACKETMODE modify structs in pktdef.h, so make sure they come first #define PACKETDATA \ (PK_BUTTONS | PK_NORMAL_PRESSURE | PK_ORIENTATION | PK_CURSOR | PK_X | PK_Y | PK_TIME) #define PACKETMODE 0 |