diff options
author | Jody Northup | 2009-06-27 05:58:44 +0000 |
---|---|---|
committer | Jody Northup | 2009-06-27 05:58:44 +0000 |
commit | 853aec05ba4485f0bfc90e7515322dfd56a8d4af (patch) | |
tree | d088498595ba59e32df821d2f4b96602e7c91779 /common | |
parent | fe65f6163c88b77a5997d47eff842b78812085be (diff) | |
download | scummvm-rg350-853aec05ba4485f0bfc90e7515322dfd56a8d4af.tar.gz scummvm-rg350-853aec05ba4485f0bfc90e7515322dfd56a8d4af.tar.bz2 scummvm-rg350-853aec05ba4485f0bfc90e7515322dfd56a8d4af.zip |
changed initGraphics, and OSystem::initSize to take Graphics::PixelFormat * parameters instead of Graphics::PixelFormat parameters, to save unnecessary pixelformat initialization if ENABLE_RGB_COLOR is not set.
svn-id: r41909
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h index 28947d00c5..4e8be5024c 100644 --- a/common/system.h +++ b/common/system.h @@ -401,7 +401,7 @@ public: * @param height the new virtual screen height * @param format the new virtual screen pixel format */ - virtual void initSize(uint width, uint height, Graphics::PixelFormat format = Graphics::PixelFormat::createFormatCLUT8()) = 0; + virtual void initSize(uint width, uint height, Graphics::PixelFormat *format = NULL) = 0; /** * Return an int value which is changed whenever any screen |