From 853aec05ba4485f0bfc90e7515322dfd56a8d4af Mon Sep 17 00:00:00 2001 From: Jody Northup Date: Sat, 27 Jun 2009 05:58:44 +0000 Subject: 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 --- common/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/system.h') 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 -- cgit v1.2.3