Commit 156eadf7 authored by cutealien's avatar cutealien

Only do single precision tests on 32-bit Windows (try 2)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4146 dfc29bdd-3216-0410-991c-e03cc46cb475
parent cc2cdf4d
......@@ -238,7 +238,7 @@ static bool isPointInside(triangle3d<T> triangleOrig, bool testIsInside, bool te
// This is somewhat important as Direct3D does by default set the FPU into that mode.
static bool isPointInsideWithSinglePrecision()
{
#if defined(_MSC_VER) && (defined(_WIN32) || defined(WIN32))
#if defined(_MSC_VER) && !(defined(_WIN64))
int original = _control87( 0, 0 );
_control87(_PC_24, MCW_PC); // single precision (double precision would be _PC_53)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment