use a DisplayDriverPainter version if config says so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12055 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include "AccelerantDriver.h"
|
||||
#include "ViewDriver.h"
|
||||
#include "DirectDriver.h"
|
||||
#include "DisplayDriverPainter.h"
|
||||
|
||||
//#define DEBUG_DESKTOP
|
||||
|
||||
@@ -93,6 +94,7 @@ void Desktop::Init(void)
|
||||
AddDriver(driver);
|
||||
initDrivers = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DIRECTDRIVER:
|
||||
{
|
||||
@@ -101,6 +103,13 @@ void Desktop::Init(void)
|
||||
AddDriver(driver);
|
||||
break;
|
||||
}
|
||||
case PAINTERDRIVER:
|
||||
{
|
||||
// It would be nice to have this for the default testing driver. Someday....
|
||||
driver = new DisplayDriverPainter();
|
||||
AddDriver(driver);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
// It would be nice to not ever need this again....
|
||||
|
||||
Reference in New Issue
Block a user