]> de.git.xonotic.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)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Aug 2011 10:55:28 +0000 (10:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11297 d7cf8633-e32d-0410-b094-e92efae38249

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);