Fixed resizing
This commit is contained in:
1 parent
3804810545
commit
fa975a9960
1 file changed
+4
-3
@@ -276,8 +276,6 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
y = 0;
|
y = 0;
|
||||||
x = 0;
|
x = 0;
|
||||||
|
|
||||||
if ((float)w / (float)h == CSettings.GetRenderAspect())
|
|
||||||
return;
|
|
||||||
if ((float)w / (float)h > CSettings.GetRenderAspect())
|
if ((float)w / (float)h > CSettings.GetRenderAspect())
|
||||||
{
|
{
|
||||||
//The windows's width is too big
|
//The windows's width is too big
|
||||||
@@ -512,7 +510,10 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
CSettings.bFullScreen = true;
|
CSettings.bFullScreen = true;
|
||||||
EnterFullScreen();
|
EnterFullScreen();
|
||||||
}
|
}
|
||||||
RResize();
|
|
||||||
|
//Resize window if aspect ratio is incorrect
|
||||||
|
if ((float)w / (float)h != CSettings.GetRenderAspect())
|
||||||
|
RResize();
|
||||||
|
|
||||||
while (_Run)
|
while (_Run)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user