From 7064ec812ec9ee7ee1e2485416ba8bacc10868db Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 29 Jun 2020 03:21:08 +0000 Subject: [PATCH] Move abortframe to top of host_t to avoid struct alignment warning with MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12753 d7cf8633-e32d-0410-b094-e92efae38249 --- quakedef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quakedef.h b/quakedef.h index ff021f17..107ccc7a 100644 --- a/quakedef.h +++ b/quakedef.h @@ -529,11 +529,11 @@ typedef enum host_state_e typedef struct host_s { + jmp_buf abortframe; int state; int framecount; // incremented every frame, never reset (checked by Host_Error and Host_SaveConfig_f) double realtime; // the accumulated mainloop time since application started (with filtering), without any slowmo or clamping double dirtytime; // the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame - jmp_buf abortframe; } host_t; extern host_t host; -- 2.39.2