Fixed a bug in stb_image ( reported the bug and how to fix it ).

Changed some things in HaikuTTF.
This commit is contained in:
spartanj
2010-10-19 18:33:02 -03:00
parent e5744e349c
commit 92191b3f93
9 changed files with 246 additions and 238 deletions

View File

@@ -17,12 +17,15 @@ cResourceLoader::~cResourceLoader() {
void cResourceLoader::SetThreads() {
if ( THREADS_AUTO == mThreads ) {
mThreads = GetNumCPUs();
/**
eeInt NumCpus = GetNumCPUs() - 1;
if ( NumCpus > 1 )
mThreads = NumCpus;
else
mThreads = 1;
*/
}
}