GL: Disable scissor when rendering debug text.

This commit is contained in:
bkaradzic 2013-07-27 22:31:53 -07:00
parent 27c476924e
commit 2d3a408cfb

View File

@ -2167,6 +2167,7 @@ namespace bgfx
GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, s_renderCtx.m_backBufferFbo) );
GL_CHECK(glViewport(0, 0, width, height) );
GL_CHECK(glDisable(GL_SCISSOR_TEST) );
GL_CHECK(glDisable(GL_STENCIL_TEST) );
GL_CHECK(glDisable(GL_DEPTH_TEST) );
GL_CHECK(glDepthFunc(GL_ALWAYS) );