Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ogl: ceil viewport, rounding isn't supported on vs and this is more l…
…ike the old behavior
  • Loading branch information
degasus committed Oct 29, 2013
1 parent ab35503 commit 35824aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/OGL/Src/Render.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 35824aa

Please sign in to comment.