mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 22:03:12 +01:00
Debug build mistake
This commit is contained in:
@@ -2483,9 +2483,13 @@ 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user