vcl/source/bitmap/bitmapscalesuper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ff3a4cb06f710bf4f85e6580c1df516b984f9db8 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> Date: Sun Jul 24 22:14:27 2016 +0900 vcl: use same bitdepth when performing super scaling Change-Id: I379c4aa9aa83470961fa972eec8cdb67261f749c diff --git a/vcl/source/bitmap/bitmapscalesuper.cxx b/vcl/source/bitmap/bitmapscalesuper.cxx index 9fb1f44..61387fa 100644 --- a/vcl/source/bitmap/bitmapscalesuper.cxx +++ b/vcl/source/bitmap/bitmapscalesuper.cxx @@ -936,7 +936,7 @@ bool BitmapScaleSuper::filter(Bitmap& rBitmap) Bitmap::ScopedReadAccess pReadAccess(rBitmap); - Bitmap aOutBmp(Size(nDstW, nDstH), 24); + Bitmap aOutBmp(Size(nDstW, nDstH), rBitmap.GetBitCount()); Bitmap::ScopedWriteAccess pWriteAccess(aOutBmp); const long nStartY = 0;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits