From 3281507f7b745052b2b58565e7e95f60b1c9c400 Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Fri, 22 May 2020 16:58:03 -0700 Subject: 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 --- intern/ghost/intern/GHOST_WindowWin32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern') 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 #include +// 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 -- cgit v1.2.3