From 133978bbca83f9c8c3ac999ac131447114a42146 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Fri, 1 Mar 2019 11:14:06 +0100 Subject: [PATCH] util-math: Remove alignment from vec2a --- source/util-math.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/source/util-math.hpp b/source/util-math.hpp index 289897e..e57600f 100644 --- a/source/util-math.hpp +++ b/source/util-math.hpp @@ -67,10 +67,7 @@ inline size_t GetNearestPowerOfTwoBelow(size_t v) } namespace util { -#ifdef _MSC_VER - __declspec(align(16)) -#endif - struct vec2a : public vec2 { + struct vec2a : public vec2 { // 16-byte Aligned version of vec2 static void* operator new(size_t count); static void* operator new[](size_t count); @@ -81,7 +78,7 @@ namespace util { #ifdef _MSC_VER __declspec(align(16)) #endif - struct vec3a : public vec3 { + struct vec3a : public vec3 { // 16-byte Aligned version of vec3 static void* operator new(size_t count); static void* operator new[](size_t count); @@ -92,7 +89,7 @@ namespace util { #ifdef _MSC_VER __declspec(align(16)) #endif - struct vec4a : public vec4 { + struct vec4a : public vec4 { // 16-byte Aligned version of vec4 static void* operator new(size_t count); static void* operator new[](size_t count);