diff options
author | Willem Jan Palenstijn | 2009-06-15 13:50:41 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-06-15 13:50:41 +0000 |
commit | 3d9d542908323c3d0ce545589e5532175eda9063 (patch) | |
tree | 317d4fa197ba477f09298ba9b62748f2ab8b9086 /engines/sci/gfx/gfx_driver.cpp | |
parent | e74ba9af6b95c70cdcdbcf700e0964bf0be0fca1 (diff) | |
download | scummvm-rg350-3d9d542908323c3d0ce545589e5532175eda9063.tar.gz scummvm-rg350-3d9d542908323c3d0ce545589e5532175eda9063.tar.bz2 scummvm-rg350-3d9d542908323c3d0ce545589e5532175eda9063.zip |
Fix compilation of SCI engine
svn-id: r41546
Diffstat (limited to 'engines/sci/gfx/gfx_driver.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp index 961eecc6fd..42be711499 100644 --- a/engines/sci/gfx/gfx_driver.cpp +++ b/engines/sci/gfx/gfx_driver.cpp @@ -36,7 +36,7 @@ namespace Sci { GfxDriver::GfxDriver(int xfact, int yfact, int bytespp) { int i; - Graphics::PixelFormat format = { bytespp, 0, 0, 0, 0, 0, 0, 0, 0 }; + Graphics::PixelFormat format(bytespp, 0, 0, 0, 0, 0, 0, 0, 0); _mode = gfx_new_mode(xfact, yfact, format, new Palette(256), 0); _mode->xsize = xfact * 320; _mode->ysize = yfact * 200; |