Fixed build

This commit is contained in:
Christophe Riccio
2018-07-11 17:49:15 +02:00
parent 2098b073ff
commit 0f2e1fa493
49 changed files with 167 additions and 168 deletions

View File

@@ -1,6 +1,6 @@
#include <glm/glm.hpp>
#if GLM_HAS_ALIGNED_TYPE
#if GLM_HAS_ANONYMOUS_STRUCT
struct vec2;
struct _swizzle

View File

@@ -1,7 +1,7 @@
#define GLM_FORCE_MESSAGES
#include <glm/glm.hpp>
#if GLM_HAS_ALIGNED_TYPE
#if GLM_HAS_ANONYMOUS_STRUCT
#include <glm/gtc/type_aligned.hpp>
GLM_STATIC_ASSERT(glm::detail::is_aligned<glm::aligned_lowp>::value, "aligned_lowp is not aligned");
@@ -143,4 +143,4 @@ int main()
return 0;
}
#endif//GLM_HAS_ALIGNED_TYPE
#endif//GLM_HAS_ANONYMOUS_STRUCT

View File

@@ -18,7 +18,7 @@ namespace
case glm::highp: os << "uhi"; break;
case glm::mediump: os << "umd"; break;
case glm::lowp: os << "ulo"; break;
# if GLM_HAS_ALIGNED_TYPE
# if GLM_HAS_ANONYMOUS_STRUCT
case glm::aligned_highp: os << "ahi"; break;
case glm::aligned_mediump: os << "amd"; break;
case glm::aligned_lowp: os << "alo"; break;