Maybe quick fix for Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@219 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
980679d84d
commit
bae7cf1354
|
@ -482,6 +482,11 @@ void OpenGL_Update()
|
||||||
::MoveWindow(EmuWindow::GetWnd(), 0,0,width,height, FALSE);
|
::MoveWindow(EmuWindow::GetWnd(), 0,0,width,height, FALSE);
|
||||||
nBackbufferWidth = width;
|
nBackbufferWidth = width;
|
||||||
nBackbufferHeight = height;
|
nBackbufferHeight = height;
|
||||||
|
float FactorW = (float)640 / (float)nBackbufferWidth;
|
||||||
|
float FactorH = (float)480 / (float)nBackbufferHeight;
|
||||||
|
|
||||||
|
float Max = (FactorW < FactorH) ? FactorH : FactorW;
|
||||||
|
MValue = 1 / Max;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
u32 TmpAAx = (width / 640) - 1;
|
u32 TmpAAx = (width / 640) - 1;
|
||||||
|
|
Loading…
Reference in New Issue