]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix crashing due to alignment
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Aug 2011 10:55:28 +0000 (10:55 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 24 Aug 2011 12:15:14 +0000 (14:15 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11297 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9d8590c2b65147d3ff5d9d78b7e4c3ad2491d40d

dpsoftrast.c

index 432cb1aa78ef4809250416075c76b61e20769298..b42ab166e0b36755b46693a6d141487bc6631463 100644 (file)
@@ -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);