Fixed SSE detection on GCC
This commit is contained in:
@@ -25,7 +25,7 @@ namespace glm
|
||||
|
||||
namespace detail
|
||||
{
|
||||
#ifndef GLM_USE_ANONYMOUS_UNION
|
||||
#ifndef _MSC_EXTENSIONS
|
||||
template <>
|
||||
struct tvec2<thalf>
|
||||
{
|
||||
@@ -319,7 +319,7 @@ namespace glm
|
||||
tvec4<thalf> swizzle(comp X, comp Y, comp Z, comp W) const;
|
||||
tref4<thalf> swizzle(comp X, comp Y, comp Z, comp W);
|
||||
};
|
||||
#endif//GLM_USE_ANONYMOUS_UNION
|
||||
#endif//_MSC_EXTENSIONS
|
||||
}
|
||||
//namespace detail
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
namespace glm{
|
||||
namespace detail{
|
||||
|
||||
#ifndef GLM_USE_ANONYMOUS_UNION
|
||||
#ifndef _MSC_EXTENSIONS
|
||||
|
||||
//////////////////////////////////////
|
||||
// hvec2
|
||||
@@ -969,7 +969,7 @@ inline tref4<thalf> tvec4<thalf>::swizzle(comp x, comp y, comp z, comp w)
|
||||
(*this)[w]);
|
||||
}
|
||||
|
||||
#endif//GLM_USE_ANONYMOUS_UNION
|
||||
#endif//_MSC_EXTENSIONS
|
||||
|
||||
}//namespace detail
|
||||
}//namespace glm
|
||||
|
||||
Reference in New Issue
Block a user