mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Do not apply viewport scaling in fullscreen mode
See https://forum.drdteam.org/viewtopic.php?t=7339
This commit is contained in:
parent
efaaefcb70
commit
5dff3d5af0
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ void FGLRenderer::SetOutputViewport(GL_IRECT *bounds)
|
||||||
mSceneViewport.height = height;
|
mSceneViewport.height = height;
|
||||||
|
|
||||||
// Scale viewports to fit letterbox
|
// Scale viewports to fit letterbox
|
||||||
if (gl_scale_viewport || !FGLRenderBuffers::IsEnabled())
|
if ((gl_scale_viewport && !framebuffer->IsFullscreen()) || !FGLRenderBuffers::IsEnabled())
|
||||||
{
|
{
|
||||||
mScreenViewport.width = mOutputLetterbox.width;
|
mScreenViewport.width = mOutputLetterbox.width;
|
||||||
mScreenViewport.height = mOutputLetterbox.height;
|
mScreenViewport.height = mOutputLetterbox.height;
|
||||||
|
|
Loading…
Reference in a new issue