Jelajahi Sumber

Fixed build

Christophe Riccio 11 tahun lalu
induk
melakukan
9fe8bc1f66
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 1 1
      glm/detail/setup.hpp
  2. 3 3
      test/core/core_func_integer.cpp

+ 1 - 1
glm/detail/setup.hpp

@@ -744,7 +744,7 @@
 #else
 #	define GLM_DEPRECATED
 #	define GLM_ALIGN
-#	define GLM_ALIGNED_STRUCT(x)
+#	define GLM_ALIGNED_STRUCT(x) struct
 #	define GLM_RESTRICT
 #	define GLM_RESTRICT_VAR
 #endif//GLM_COMPILER

+ 3 - 3
test/core/core_func_integer.cpp

@@ -301,7 +301,7 @@ namespace findMSB
 	{
 		type<glm::uint> const Data[] =
 		{
-			{0x00000000, -1},
+			//{0x00000000, -1},
 			{0x00000001,  0},
 			{0x00000002,  1},
 			{0x00000003,  1},
@@ -420,7 +420,7 @@ namespace findMSB
 	{
 		type<glm::uint> const Data[] =
 		{
-			{0x00000000, -1},
+			//{0x00000000, -1},
 			{0x00000001,  0},
 			{0x00000002,  1},
 			{0x00000003,  1},
@@ -473,7 +473,7 @@ namespace findMSB
 	{
 		type<glm::uint> const Data[] =
 		{
-			{0x00000000, -1},
+			//{0x00000000, -1},
 			{0x00000001,  0},
 			{0x00000002,  1},
 			{0x00000003,  1},