--- a/Source/ThirdParty/ANGLE/src/common/mathutil.h
+++ b/Source/ThirdParty/ANGLE/src/common/mathutil.h
@@ -601,6 +601,8 @@ inline R roundToNearest(T input)
 #if defined(__aarch64__) || defined(_M_ARM64)
     // On armv8, this expression is compiled to a dedicated round-to-nearest instruction
     return static_cast<R>(std::round(input));
+#elif (defined(__i386__) || defined(_M_IX86)) && !defined(__x86_64__) && !defined(_M_X64)
+    return static_cast<R>(std::round(input));
 #else
     static_assert(0.49999997f < 0.5f);
     static_assert(0.49999997f + 0.5f == 1.0f);
