mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Debug build mistake
This commit is contained in:
parent
b72d980a8a
commit
eb6833bea4
1 changed files with 4 additions and 0 deletions
|
@ -2483,10 +2483,14 @@ namespace bgfx { namespace gl
|
|||
GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, m_msaaBackBufferFbo) );
|
||||
|
||||
if (0 != (m_resolution.m_flags & BGFX_RESET_SRGB_BACKBUFFER))
|
||||
{
|
||||
GL_CHECK(glEnable(GL_FRAMEBUFFER_SRGB));
|
||||
}
|
||||
else
|
||||
{
|
||||
GL_CHECK(glDisable(GL_FRAMEBUFFER_SRGB));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
FrameBufferGL& frameBuffer = m_frameBuffers[_fbh.idx];
|
||||
|
|
Loading…
Reference in a new issue