mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 14:09:28 +00:00
DRACI: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
This commit is contained in:
parent
2e0db94f04
commit
a2a22980d8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user