mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
ogl: ceil viewport, rounding isn't supported on vs and this is more like the old behavior
This commit is contained in:
parent
ab35503195
commit
35824aa4d5
1 changed files with 1 additions and 1 deletions
|
@ -1134,7 +1134,7 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
glViewport(round(X), round(Y), round(Width), round(Height));
|
glViewport(ceil(X), ceil(Y), ceil(Width), ceil(Height));
|
||||||
}
|
}
|
||||||
glDepthRangef(GLNear, GLFar);
|
glDepthRangef(GLNear, GLFar);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue