mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-31 08:50:54 +00:00
Astyle
This commit is contained in:
parent
72091f73ca
commit
4daffd67c0
5 changed files with 12 additions and 12 deletions
|
@ -96,7 +96,7 @@ void Framebuffer::Init()
|
|||
}
|
||||
|
||||
// HDR
|
||||
|
||||
|
||||
int screenWidth = renderSystem->GetWidth();
|
||||
int screenHeight = renderSystem->GetHeight();
|
||||
|
||||
|
@ -207,7 +207,7 @@ void Framebuffer::CheckFramebuffers()
|
|||
{
|
||||
int screenWidth = renderSystem->GetWidth();
|
||||
int screenHeight = renderSystem->GetHeight();
|
||||
|
||||
|
||||
if( globalFramebuffers.hdrFBO->GetWidth() != screenWidth || globalFramebuffers.hdrFBO->GetHeight() != screenHeight )
|
||||
{
|
||||
Unbind();
|
||||
|
@ -224,7 +224,7 @@ void Framebuffer::CheckFramebuffers()
|
|||
globalFramebuffers.hdrNonMSAAFBO->Bind();
|
||||
globalFramebuffers.hdrNonMSAAFBO->AttachImage2D( GL_TEXTURE_2D, globalImages->currentRenderHDRImageNoMSAA, 0 );
|
||||
globalFramebuffers.hdrNonMSAAFBO->Check();
|
||||
|
||||
|
||||
globalFramebuffers.hdrNonMSAAFBO->width = screenWidth;
|
||||
globalFramebuffers.hdrNonMSAAFBO->height = screenHeight;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue