Merge branch 'devel/master' into tizen
[platform/core/uifw/dali-adaptor.git] / adaptors / common / native-bitmap-buffer-impl.cpp
index 0424b07..0806755 100644 (file)
@@ -98,9 +98,9 @@ unsigned int NativeBitmapBuffer::GetHeight() const
   return mHeight;
 }
 
-Pixel::Format NativeBitmapBuffer::GetPixelFormat() const
+bool NativeBitmapBuffer::RequiresBlending() const
 {
-  return mPixelFormat;
+  return Pixel::HasAlpha( mPixelFormat );
 }
 
 } // namespace Adaptor