diff options
| author | Johannes Schickel | 2011-04-17 16:26:07 +0200 |
|---|---|---|
| committer | Johannes Schickel | 2011-04-17 16:26:07 +0200 |
| commit | a2a22980d8e23bec6e1224d3615872a52ba1a469 (patch) | |
| tree | 6e3257ebdc6e4f9f53a2b55a9c55e8d8d1bb48be | |
| parent | 2e0db94f0444f6523183e53463b83ec506a00f8b (diff) | |
| download | scummvm-rg350-a2a22980d8e23bec6e1224d3615872a52ba1a469.tar.gz scummvm-rg350-a2a22980d8e23bec6e1224d3615872a52ba1a469.tar.bz2 scummvm-rg350-a2a22980d8e23bec6e1224d3615872a52ba1a469.zip | |
DRACI: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
| -rw-r--r-- | engines/draci/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/surface.cpp b/engines/draci/surface.cpp index 532d87a19f..37a76dbe0e 100644 --- a/engines/draci/surface.cpp +++ b/engines/draci/surface.cpp @@ -29,7 +29,7 @@ namespace Draci { Surface::Surface(int width, int height) { - this->create(width, height, 1); + this->create(width, height, Graphics::PixelFormat::createFormatCLUT8()); this->markClean(); _transparentColor = kDefaultTransparent; } |
