Skip to content

Commit f190801

Browse files
[[ Bug 13535 ]] Multithread rendering de-activated for now
1 parent 06ec955 commit f190801

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/notes/bugfix-13535.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Threaded rendering crash

engine/src/sysunxthreads.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,11 @@ uint32_t MCThreadGetNumberOfCores()
361361
//return (uint32_t) sysconf(_SC_NPROCESSORS_CONF);
362362

363363
// SN-2014-08-26: [[ Bug 13264 ]] Android multi-core won't draw images without a bit of rework
364-
#ifdef _ANDROID_MOBILE
365-
return 1;
366-
#else
364+
// SN-2014-10-14: [[ Bug 13535 ]] Multithread rendering de-activated for now.
365+
#ifdef _MULTI_THREAD_RENDERING_
367366
return (uint32_t) sysconf(_SC_NPROCESSORS_ONLN);
367+
#else
368+
return 1;
368369
#endif
369370
}
370371

0 commit comments

Comments
 (0)