Fix handling of DISPLAYDRIVER

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2744 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shadow303 2003-02-17 22:23:52 +00:00
parent 6ef929c392
commit b7772bd6d4

View File

@ -100,7 +100,7 @@ void InitDesktop(void)
delete tdriver;
tdriver=NULL;
}
#endif
#else
#if DISPLAYDRIVER == SCREENDRIVER
tdriver=new ScreenDriver;
@ -124,6 +124,7 @@ void InitDesktop(void)
delete tdriver;
tdriver=NULL;
}
#endif
// Once we utilize multiple monitors, we'll make Screen 0 the active one.
if(tdriver)