Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions.
svn-id: r50796
This commit is contained in:
parent
85034dc730
commit
4dca7c7e02
13 changed files with 295 additions and 137 deletions
|
@ -70,6 +70,11 @@ bool ModularBackend::getFeatureState(Feature f) {
|
|||
return _graphicsManager->getFeatureState(f);
|
||||
}
|
||||
|
||||
GraphicsManager *ModularBackend::getGraphicsManager() {
|
||||
assert(_graphicsManager);
|
||||
return (GraphicsManager *)_graphicsManager;
|
||||
}
|
||||
|
||||
const OSystem::GraphicsMode *ModularBackend::getSupportedGraphicsModes() const {
|
||||
return _graphicsManager->getSupportedGraphicsModes();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue