From: eihrul Date: Wed, 24 Aug 2011 10:55:28 +0000 (+0000) Subject: fix crashing due to alignment X-Git-Tag: xonotic-v0.6.0~163^2~255 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d8590c2b65147d3ff5d9d78b7e4c3ad2491d40d;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 --- 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);