[4.0] Fixed BMP loader.
[platform/core/uifw/dali-adaptor.git] / platform-abstractions / tizen / image-loaders / loader-bmp.cpp
index 1ab158a..72799b5 100644 (file)
@@ -1241,6 +1241,12 @@ bool LoadBitmapFromBmp( const ImageLoader::Input& input, Dali::Devel::PixelBuffe
       pixelBufferH = abs(infoHeader.height);
       newPixelFormat = Pixel::RGB565;
     }
+    else
+    {
+      pixelBufferW = infoHeader.width;
+      pixelBufferH = infoHeader.height;
+      newPixelFormat = pixelFormat;
+    }
     break;
   }