Possible fix for the occasional texture corruption issue.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1569 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
edc97898a2
commit
4b8e36d0f8
@ -256,7 +256,7 @@ enum
|
||||
}
|
||||
|
||||
// Set up loading threads.
|
||||
threadCount = MIN(OOCPUCount() /*- 1*/, (unsigned)kMaxWorkThreads);
|
||||
threadCount = MIN(OOCPUCount() - 1, (unsigned)kMaxWorkThreads);
|
||||
do
|
||||
{
|
||||
[NSThread detachNewThreadSelector:@selector(queueTask:) toTarget:self withObject:[NSNumber numberWithInt:threadNumber++]];
|
||||
|
Loading…
x
Reference in New Issue
Block a user