From 93d1b9f406041634633143c20456d2368eb66005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 9 Jan 2006 11:24:08 +0000 Subject: [PATCH] * quick fix for when fBitmap has been recomposed partly, fDisplayBitmap is not correctly re-established... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15887 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/showimage/ShowImageView.cpp b/src/apps/showimage/ShowImageView.cpp index f63f797603..7fc444c191 100644 --- a/src/apps/showimage/ShowImageView.cpp +++ b/src/apps/showimage/ShowImageView.cpp @@ -896,6 +896,10 @@ ShowImageView::DrawImage(BRect rect) } } } + // TODO: fix composing of fBitmap with other bitmaps + // with regard to alpha channel + if (!fDisplayBitmap) + fDisplayBitmap = fBitmap; DrawBitmap(fDisplayBitmap, fDisplayBitmap->Bounds(), rect); }