mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
util-math: Remove alignment from vec2a
This commit is contained in:
parent
c1b7f8aa88
commit
133978bbca
1 changed files with 3 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue