소스 검색

Debug build mistake

xMyran 10 년 전
부모
커밋
eb6833bea4
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/renderer_gl.cpp

+ 4 - 0
src/renderer_gl.cpp

@@ -2483,9 +2483,13 @@ namespace bgfx { namespace gl
 				GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, m_msaaBackBufferFbo) );
 				GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, m_msaaBackBufferFbo) );
 				
 				
 				if (0 != (m_resolution.m_flags & BGFX_RESET_SRGB_BACKBUFFER))
 				if (0 != (m_resolution.m_flags & BGFX_RESET_SRGB_BACKBUFFER))
+				{
 					GL_CHECK(glEnable(GL_FRAMEBUFFER_SRGB));
 					GL_CHECK(glEnable(GL_FRAMEBUFFER_SRGB));
+				}
 				else
 				else
+				{
 					GL_CHECK(glDisable(GL_FRAMEBUFFER_SRGB));
 					GL_CHECK(glDisable(GL_FRAMEBUFFER_SRGB));
+				}
 			}
 			}
 			else
 			else
 			{
 			{