mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
ogl: ceil viewport, rounding isn't supported on vs and this is more like the old behavior
This commit is contained in:
@@ -1134,7 +1134,7 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
|
||||
}
|
||||
else
|
||||
{
|
||||
glViewport(round(X), round(Y), round(Width), round(Height));
|
||||
glViewport(ceil(X), ceil(Y), ceil(Width), ceil(Height));
|
||||
}
|
||||
glDepthRangef(GLNear, GLFar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user