mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Bugfixes: Discarded function, switch fix.
svn-id: r32340
This commit is contained in:
parent
119b7126b9
commit
426c36992d
@ -59,6 +59,9 @@ void InterfaceManager::setGraphicsMode(Graphics_Mode mode) {
|
||||
_bytesPerPixel = sizeof(uint16);
|
||||
screenInit<uint16>();
|
||||
break;
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
_vectorRenderer = Graphics::createRenderer(mode);
|
||||
|
@ -58,14 +58,7 @@ public:
|
||||
int runGUI();
|
||||
|
||||
protected:
|
||||
Graphics::VectorRenderer *createRenderer() {
|
||||
// TODO: Find out what pixel format we are using,
|
||||
// create the renderer accordingly
|
||||
return new Graphics::VectorRendererSpec<uint16, ColorMasks<565> >;
|
||||
}
|
||||
|
||||
template<typename PixelType>
|
||||
void screenInit();
|
||||
template<typename PixelType> void screenInit();
|
||||
|
||||
void freeRenderer() {
|
||||
if (_vectorRenderer != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user