mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
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);
|
||||
nBackbufferWidth = width;
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user