Skip to content

Commit

Permalink
xrGame: ename implemented SwitchToThread() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Nov 6, 2018
1 parent a64b71f commit 6c872a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/xrGame/configs_dumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,8 @@ void __stdcall configs_dumper::yield_cb(long progress)

void __stdcall configs_dumper::switch_thread()
{
#ifndef LINUX // FIXME!!!
if (!SwitchToThread())
Sleep(10);
#endif
}

void configs_dumper::realloc_compress_buffer(u32 need_size)
Expand Down
2 changes: 0 additions & 2 deletions src/xrGame/screenshot_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,8 @@ void __stdcall screenshot_manager::jpeg_compress_cb(long progress)
#endif*/
if (progress % 5 == 0)
{
#ifndef LINUX // FIXME!!!
if (!SwitchToThread())
Sleep(10);
#endif
}
}

Expand Down

0 comments on commit 6c872a9

Please sign in to comment.