From: eihrul Date: Wed, 24 Aug 2011 10:55:28 +0000 (+0000) Subject: fix crashing due to alignment X-Git-Tag: xonotic-v0.5.0~28 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=83fa2036b33c89fd4609074e50d5c792ed3afddf;p=xonotic%2Fdarkplaces.git fix crashing due to alignment git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11297 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=9d8590c2b65147d3ff5d9d78b7e4c3ad2491d40d --- diff --git a/dpsoftrast.c b/dpsoftrast.c index 432cb1aa..b42ab166 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -167,7 +167,7 @@ typedef ALIGN(struct DPSOFTRAST_State_Command_Pool_s { int freecommand; int usedcommands; - ATOMIC(unsigned char commands[DPSOFTRAST_DRAW_MAXCOMMANDPOOL]); + ALIGN(unsigned char commands[DPSOFTRAST_DRAW_MAXCOMMANDPOOL]); } DPSOFTRAST_State_Command_Pool);