1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Fix freeze-crash in lightmapper under MinGW-GCC

This commit is contained in:
Pedro J. Estébanez
2021-01-23 05:53:10 +01:00
parent 2d904127d6
commit 0f4c44c9fb
4 changed files with 4 additions and 44 deletions

View File

@@ -361,15 +361,7 @@ namespace embree
if ((loopIndex % LOOP_YIELD_THRESHOLD) == 0)
yield();
else
// -- GODOT start --
#if !defined(__MINGW32__)
// -- GODOT end --
_mm_pause();
// -- GODOT start --
#else
__builtin_ia32_pause();
#endif
// -- GODOT end --
loopIndex++;
#else
yield();