Remove the call of ImageAttribute::SetPixelFormat 33/35633/4
authorXiangyin Ma <x1.ma@samsung.com>
Fri, 20 Feb 2015 16:32:33 +0000 (16:32 +0000)
committerXiangyin Ma <x1.ma@samsung.com>
Tue, 24 Feb 2015 16:07:11 +0000 (08:07 -0800)
Change-Id: I2fa1c88ad1c7358c0168b8b73f5cc5a090622565

examples/cluster/cluster-example.cpp

index 04a7202..825ed80 100644 (file)
@@ -556,7 +556,6 @@ public:
     ImageAttributes attribs = ImageAttributes::New();
     attribs.SetSize(CLUSTER_IMAGE_THUMBNAIL_WIDTH, CLUSTER_IMAGE_THUMBNAIL_HEIGHT);
     attribs.SetScalingMode(Dali::ImageAttributes::ShrinkToFit);
-    attribs.SetPixelFormat( Pixel::RGB888  );
 
     // Add a shadow image child actor
     Image shadowImage = ResourceImage::New( CLUSTER_SHADOW_IMAGE_PATH, attribs );