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:
parent
6ef929c392
commit
b7772bd6d4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user