(svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation.

This commit is contained in:
rubidium
2009-01-20 03:12:46 +00:00
parent 5f3772a42c
commit bb77071749
8 changed files with 66 additions and 432 deletions

View File

@@ -300,7 +300,7 @@ void GenerateWorld(GenerateWorldMode mode, uint size_x, uint size_y)
}
if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() == 0 ||
(_gw.thread = ThreadObject::New(&_GenerateWorld, NULL)) == NULL) {
!ThreadObject::New(&_GenerateWorld, NULL, &_gw.thread)) {
DEBUG(misc, 1, "Cannot create genworld thread, reverting to single-threaded mode");
_gw.threaded = false;
_GenerateWorld(NULL);