Fix: Draw reflection of video in song-screen.

This commit is contained in:
Florian Kuepper committed 2012-10-01 12:07:33 +02:00
1 parent 48d60d070f
commit 2a18c12446
1 file changed
+6 -3
+6 -3
View File
@@ -451,8 +451,8 @@ namespace Vocaluxe.Menu.SongMenu
}
}
_CoverBig.Draw(1f, true);
if (_vidtex.color.A < 1)
_CoverBig.Draw(1f, true);
_TextBG.Draw();
if (_vidtex.index != -1 && _Video != -1)
@@ -462,9 +462,12 @@ namespace Vocaluxe.Menu.SongMenu
CHelper.SetRect(bounds, ref rect, rect.Width / rect.Height, EAspect.Crop);
CDraw.DrawTexture(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z),
_vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false);
_vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false);
CDraw.DrawTextureReflection(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z),
_vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), _CoverBig.ReflectionSpace, _CoverBig.ReflectionHeight);
}
_Artist.Draw();
_Title.Draw();