From: eihrul Date: Wed, 24 Aug 2011 10:51:39 +0000 (+0000) Subject: ALIGNED_SIZE -> ALIGN_SIZE X-Git-Tag: xonotic-v0.6.0~163^2~256 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8a57f57f6b2430ca648bcfa243eabece0b2696d7;p=xonotic%2Fdarkplaces.git ALIGNED_SIZE -> ALIGN_SIZE git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11296 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/dpsoftrast.c b/dpsoftrast.c index 9a82465b..432cb1aa 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -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; }