Browse Source

Fixed ticket #27, missing inline

Christophe Riccio 15 years ago
parent
commit
e93ca2c762
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/int_10_10_10_2.inl

+ 1 - 1
glm/gtx/int_10_10_10_2.inl

@@ -11,7 +11,7 @@ namespace glm{
 namespace gtx{
 namespace int_10_10_10_2
 {
-	dword uint10_10_10_2_cast(glm::vec4 const & v)
+	inline dword uint10_10_10_2_cast(glm::vec4 const & v)
 	{
 		return dword(uint(v.x * 2047.f) << 0 | uint(v.y * 2047.f) << 10 | uint(v.z * 2047.f) << 20 | uint(v.w * 3.f) << 30);
 	}