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:
@@ -32,15 +32,15 @@
|
|||||||
#include "Workspace.h"
|
#include "Workspace.h"
|
||||||
|
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
#define USE_ACCELERANT 1
|
# define USE_ACCELERANT 1
|
||||||
#else
|
#else
|
||||||
#define USE_ACCELERANT 0
|
# define USE_ACCELERANT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_ACCELERANT
|
#if USE_ACCELERANT
|
||||||
#include "AccelerantHWInterface.h"
|
# include "AccelerantHWInterface.h"
|
||||||
#else
|
#else
|
||||||
#include "ViewHWInterface.h"
|
# include "ViewHWInterface.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "Desktop.h"
|
#include "Desktop.h"
|
||||||
@@ -48,9 +48,9 @@
|
|||||||
//#define DEBUG_DESKTOP
|
//#define DEBUG_DESKTOP
|
||||||
|
|
||||||
#ifdef DEBUG_DESKTOP
|
#ifdef DEBUG_DESKTOP
|
||||||
#define STRACE(a) printf(a)
|
# define STRACE(a) printf(a)
|
||||||
#else
|
#else
|
||||||
#define STRACE(a) /* nothing */
|
# define STRACE(a) /* nothing */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@@ -136,17 +136,10 @@ Desktop::_AddGraphicsCard(HWInterface* interface)
|
|||||||
// The interface is now owned by the screen
|
// The interface is now owned by the screen
|
||||||
|
|
||||||
if (screen->Initialize() >= B_OK && fScreenList.AddItem((void*)screen)) {
|
if (screen->Initialize() >= B_OK && fScreenList.AddItem((void*)screen)) {
|
||||||
|
|
||||||
// TODO: be careful of screen initialization - monitor may not support 640x480
|
// 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);
|
screen->SetMode(800, 600, B_RGB32, 60.f);
|
||||||
#endif
|
} else
|
||||||
|
|
||||||
} else {
|
|
||||||
delete screen;
|
delete screen;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user