Generate thumbnails on RGB images

This commit is contained in:
David Capello 2015-08-12 10:18:34 -03:00
parent 72015c092a
commit 48c6228df0

View File

@ -70,7 +70,7 @@ private:
// Render first frame of the sprite in 'image'
base::UniquePtr<Image> image(Image::create(
sprite->pixelFormat(), sprite->width(), sprite->height()));
IMAGE_RGB, sprite->width(), sprite->height()));
AppRender render;
render.setupBackground(NULL, image->pixelFormat());