SYSTEM: Add side textures as a System feature
This commit is contained in:
parent
147ba6ecbb
commit
8fc79af213
4 changed files with 41 additions and 2 deletions
|
@ -438,3 +438,17 @@ Common::TimerManager *OSystem_SDL::getTimerManager() {
|
|||
return _timerManager;
|
||||
#endif
|
||||
}
|
||||
|
||||
// ResidualVM specific code
|
||||
bool OSystem_SDL::hasFeature(Feature f) {
|
||||
if (f == kFeatureSideTextures)
|
||||
return true;
|
||||
return ModularBackend::hasFeature(f);
|
||||
}
|
||||
|
||||
// ResidualVM specific code
|
||||
void OSystem_SDL::suggestSideTextures(Graphics::Surface *left,
|
||||
Graphics::Surface *right) {
|
||||
SurfaceSdlGraphicsManager *ssgm = dynamic_cast<SurfaceSdlGraphicsManager *>(_graphicsManager);
|
||||
ssgm->setSideTextures(left, right);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue