Changed texture sizes to more reasonable int

This commit is contained in:
Flamefire committed 2013-05-03 20:07:53 +02:00
1 parent 1bfc76e4d3
commit 151fab8857
22 files changed
+67 -66

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ namespace VocaluxeLib.Menu
{
RectangleF bounds2 = new RectangleF(bounds.X, bounds.Y, bounds.W, bounds.H);
RectangleF rect2;
CHelper.SetRect(bounds2, out rect2, texture.Width / texture.Height, aspect);
CHelper.SetRect(bounds2, out rect2, (float)texture.Width / texture.Height, aspect);
rect.X = rect2.X;
rect.Y = rect2.Y;