Skip to content

Commit 6c872a9

Browse files
committed
xrGame: ename implemented SwitchToThread() calls
1 parent a64b71f commit 6c872a9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/xrGame/configs_dumper.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,8 @@ void __stdcall configs_dumper::yield_cb(long progress)
282282

283283
void __stdcall configs_dumper::switch_thread()
284284
{
285-
#ifndef LINUX // FIXME!!!
286285
if (!SwitchToThread())
287286
Sleep(10);
288-
#endif
289287
}
290288

291289
void configs_dumper::realloc_compress_buffer(u32 need_size)

src/xrGame/screenshot_manager.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,8 @@ void __stdcall screenshot_manager::jpeg_compress_cb(long progress)
274274
#endif*/
275275
if (progress % 5 == 0)
276276
{
277-
#ifndef LINUX // FIXME!!!
278277
if (!SwitchToThread())
279278
Sleep(10);
280-
#endif
281279
}
282280
}
283281

0 commit comments

Comments
 (0)