Skip to content

Commit 379aac3

Browse files
committed
added dc.Clear() to ID2D1EffectExtensions.GetD2D1Bitmap1() #2195
1 parent 81d9f61 commit 379aac3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Components/ImageGlass.Base/BHelper/Extensions/ID2D1EffectExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static IComObject<ID2D1Bitmap1> GetD2D1Bitmap1(this IComObject<ID2D1Effec
5555

5656
// draw Image on Target
5757
dc.BeginDraw();
58+
dc.Clear();
5859
if (ignoreAlpha)
5960
{
6061
// fill back background if alpha is ignored

0 commit comments

Comments
 (0)