diff options
author | Lars Persson | 2009-02-16 19:07:41 +0000 |
---|---|---|
committer | Lars Persson | 2009-02-16 19:07:41 +0000 |
commit | c4fb8cf4f13cdd7d98b466afa122cdad8c970343 (patch) | |
tree | 890caf201b196f51e450f8c079ad6e7d99e15af9 | |
parent | 2a38e8fcde41349ccbc4fa3f70b0f85ff6f7f4b2 (diff) | |
download | scummvm-rg350-c4fb8cf4f13cdd7d98b466afa122cdad8c970343.tar.gz scummvm-rg350-c4fb8cf4f13cdd7d98b466afa122cdad8c970343.tar.bz2 scummvm-rg350-c4fb8cf4f13cdd7d98b466afa122cdad8c970343.zip |
Fixed VectorRenderSpec for no fancy theme!
svn-id: r38377
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index 4926479a8b..b147ceb395 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -210,7 +210,8 @@ void colorFill(PixelType *first, PixelType *last, PixelType color) { VectorRenderer *createRenderer(int mode) { #ifdef DISABLE_FANCY_THEMES assert(mode == GUI::ThemeEngine::kGfxStandard16bit); - return new VectorRendererSpec<uint16, ColorMasks<VECTOR_RENDERER_FORMAT> >; + Graphics::PixelFormat format = createPixelFormat<VECTOR_RENDERER_FORMAT>(); + return new VectorRendererSpec<uint16>(format); #else // FIXME/TODO: This looks like a real gross hack. // It might be fine to assume that '1555' only happens for PSP |