mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 10:36:30 +03:00
Fixed a bug in stb_image ( reported the bug and how to fix it ).
Changed some things in HaikuTTF.
This commit is contained in:
@@ -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;
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user