mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
fixed windows and linux builds. the console/debugger/etc files in lle/hle/ogl really need to be de-uglified!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@833 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
540539ee27
commit
3d1cc88b4f
4 changed files with 209 additions and 13 deletions
|
@ -362,8 +362,8 @@ void VertexShaderMngr::SetConstants(VERTEXSHADER& vs)
|
|||
wAdj = ratio;
|
||||
hAdj = 1;
|
||||
|
||||
wid = ceil(abs(2 * rawViewport[0]) / wAdj);
|
||||
hei = ceil(abs(2 * rawViewport[1]) / hAdj);
|
||||
wid = ceil(fabs(2 * rawViewport[0]) / wAdj);
|
||||
hei = ceil(fabs(2 * rawViewport[1]) / hAdj);
|
||||
|
||||
actualWid = ceil((float)winw / ratio);
|
||||
actualRatiow = (float)actualWid / (float)wid; // the picture versus the screen
|
||||
|
@ -377,8 +377,8 @@ void VertexShaderMngr::SetConstants(VERTEXSHADER& vs)
|
|||
wAdj = 1;
|
||||
hAdj = ratio;
|
||||
|
||||
wid = ceil(abs(2 * rawViewport[0]) / wAdj);
|
||||
hei = ceil(abs(2 * rawViewport[1]) / hAdj);
|
||||
wid = ceil(fabs(2 * rawViewport[0]) / wAdj);
|
||||
hei = ceil(fabs(2 * rawViewport[1]) / hAdj);
|
||||
|
||||
actualHei = ceil((float)winh / ratio);
|
||||
actualRatioh = (float)actualHei / (float)hei; // the picture versus the screen
|
||||
|
@ -388,8 +388,8 @@ void VertexShaderMngr::SetConstants(VERTEXSHADER& vs)
|
|||
}
|
||||
else
|
||||
{
|
||||
wid = ceil(abs(2 * rawViewport[0]));
|
||||
hei = ceil(abs(2 * rawViewport[1]));
|
||||
wid = ceil(fabs(2 * rawViewport[0]));
|
||||
hei = ceil(fabs(2 * rawViewport[1]));
|
||||
}
|
||||
|
||||
if(g_Config.bStretchToFit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue