From 9d8590c2b65147d3ff5d9d78b7e4c3ad2491d40d Mon Sep 17 00:00:00 2001 From: eihrul Date: Wed, 24 Aug 2011 10:55:28 +0000 Subject: [PATCH] fix crashing due to alignment git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11297 d7cf8633-e32d-0410-b094-e92efae38249 --- dpsoftrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2