DRACI: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.

This commit is contained in:
Johannes Schickel 2011-04-17 16:26:07 +02:00
parent 2e0db94f04
commit a2a22980d8

View File

@ -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;
}