aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJody Northup2009-06-27 05:58:44 +0000
committerJody Northup2009-06-27 05:58:44 +0000
commit853aec05ba4485f0bfc90e7515322dfd56a8d4af (patch)
treed088498595ba59e32df821d2f4b96602e7c91779 /common/system.h
parentfe65f6163c88b77a5997d47eff842b78812085be (diff)
downloadscummvm-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/system.h')
-rw-r--r--common/system.h2
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