Fix incorrect viewport location when not using fullscreen HUD
This commit is contained in:
parent
d3457f4508
commit
a6354c74cf
5 changed files with 17 additions and 19 deletions
|
|
@ -198,7 +198,7 @@ void FGLRenderer::BloomScene()
|
|||
|
||||
// Add bloom back to scene texture:
|
||||
mBuffers->BindSceneTextureFB();
|
||||
glViewport(0, 0, mOutputViewport.width, mOutputViewport.height);
|
||||
glViewport(mOutputViewport.left, mOutputViewport.top, mOutputViewport.width, mOutputViewport.height);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
glBlendFunc(GL_ONE, GL_ONE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue