]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
ALIGNED_SIZE -> ALIGN_SIZE
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Aug 2011 10:51:39 +0000 (10:51 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 24 Aug 2011 12:15:10 +0000 (14:15 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11296 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=8a57f57f6b2430ca648bcfa243eabece0b2696d7

dpsoftrast.c

index 9a82465b2f2906f3daa19c142b391433634c4859..432cb1aa78ef4809250416075c76b61e20769298 100644 (file)
@@ -91,11 +91,11 @@ typedef qboolean bool;
        #define _mm_cvtss_f32(val) (__builtin_ia32_vec_ext_v4sf ((__v4sf)(val), 0))
 #endif
 
-#define MM_MALLOC(size) _mm_malloc(size, ALIGNED_SIZE)
+#define MM_MALLOC(size) _mm_malloc(size, ALIGN_SIZE)
 
 static void *MM_CALLOC(size_t nmemb, size_t size)
 {
-       void *ptr = _mm_malloc(nmemb*size, ALIGNED_SIZE);
+       void *ptr = _mm_malloc(nmemb*size, ALIGN_SIZE);
        if (ptr != NULL) memset(ptr, 0, nmemb*size);
        return ptr;
 }