fix null backend driver

svn-id: r14289
This commit is contained in:
Joost Peters 2004-07-20 14:26:32 +00:00
parent 521d46b425
commit 33ef51b7a7

View File

@ -35,7 +35,7 @@ public:
public:
OSystem_NULL();
OSystem_NULL();
virtual ~OSystem_NULL();
virtual bool hasFeature(Feature f);
@ -103,6 +103,9 @@ public:
};
static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
{0, 0, 0}
};
OSystem_NULL::OSystem_NULL()
{
@ -128,7 +131,7 @@ bool OSystem_NULL::getFeatureState(Feature f)
const OSystem::GraphicsMode* OSystem_NULL::getSupportedGraphicsModes() const
{
return NULL;
return s_supportedGraphicsModes;
}