Stippi's commit accidently changed the initial screen size.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13457 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0f8af9d8cb
commit
0bb8508592
|
@ -136,18 +136,11 @@ Desktop::_AddGraphicsCard(HWInterface* interface)
|
|||
// The interface is now owned by the screen
|
||||
|
||||
if (screen->Initialize() >= B_OK && fScreenList.AddItem((void*)screen)) {
|
||||
|
||||
// TODO: be careful of screen initialization - monitor may not support 640x480
|
||||
#if __HAIKU__
|
||||
screen->SetMode(1400, 1050, B_RGB32, 60.f);
|
||||
#else
|
||||
screen->SetMode(800, 600, B_RGB32, 60.f);
|
||||
#endif
|
||||
|
||||
} else {
|
||||
} else
|
||||
delete screen;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue