From: cloudwalk Date: Mon, 29 Jun 2020 03:21:08 +0000 (+0000) Subject: Move abortframe to top of host_t to avoid struct alignment warning with MSVC X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7064ec812ec9ee7ee1e2485416ba8bacc10868db;p=xonotic%2Fdarkplaces.git 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 --- 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;