You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
add a pragma so msvc will use precise math when compiling xatlas.cpp, to get consistent results across builds
#jira UE-164543 #rb semion.piskarev #preflight 632e0abae23e50651ba35f72 [CL 22165439 by jimmy andrews in ue5-main branch]
This commit is contained in:
@@ -39,6 +39,7 @@ Copyright (c) 2012 Brandon Pelfrey
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4242)
|
||||
#pragma float_control(precise, on, push)
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
@@ -10077,4 +10078,5 @@ void xatlasPackOptionsInit(xatlasPackOptions *packOptions)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
#pragma float_control(pop)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user