diff options
author | richiesams | 2013-08-29 02:01:34 -0500 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-09-24 13:59:38 +0200 |
commit | f146a0209fdc3bf0dd5e26dbca8b5257b6ee7c0e (patch) | |
tree | 86c6baa1cf50cf9a8a10afbff316f87df93032b5 /engines | |
parent | 07770eeafbf72fa4ffcee2f474b212d2a67ee234 (diff) | |
download | scummvm-rg350-f146a0209fdc3bf0dd5e26dbca8b5257b6ee7c0e.tar.gz scummvm-rg350-f146a0209fdc3bf0dd5e26dbca8b5257b6ee7c0e.tar.bz2 scummvm-rg350-f146a0209fdc3bf0dd5e26dbca8b5257b6ee7c0e.zip |
ZVISION: Convert image rendering to RBG 565
This is part of a series of commits converting all game assets to RBG 565 from
RBG 555. The argument is that certain backends do not support RGB 555.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/render_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index 99c987f7dd..b1282dc007 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -244,6 +244,9 @@ void RenderManager::readImageToSurface(const Common::String &fileName, Graphics: } else { tga.destroy(); } + + // Convert in place to RGB 565 from RGB 555 + destination.convertToInPlace(_pixelFormat); } const Common::Point RenderManager::screenSpaceToImageSpace(const Common::Point &point) { |