You've already forked godot
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user