Browse Source

Merge branch 'master' of github.com:bkaradzic/bx

Branimir Karadžić 7 years ago
parent
commit
aa07c3edcc
2 changed files with 3 additions and 3 deletions
  1. 1 1
      include/bx/inline/simd128_langext.inl
  2. 2 2
      include/bx/inline/simd128_ref.inl

+ 1 - 1
include/bx/inline/simd128_langext.inl

@@ -9,7 +9,7 @@
 
 namespace bx
 {
-	float sqrt(float);
+	BX_CONST_FUNC float sqrt(float);
 
 #define ELEMx 0
 #define ELEMy 1

+ 2 - 2
include/bx/inline/simd128_ref.inl

@@ -9,8 +9,8 @@
 
 namespace bx
 {
-	float sqrt(float);
-	float rsqrt(float);
+	BX_CONST_FUNC float sqrt(float);
+	BX_CONST_FUNC float rsqrt(float);
 
 #define ELEMx 0
 #define ELEMy 1