diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 43c9ad7c..c69f6b32 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -1593,8 +1593,8 @@ namespace bgfx GL_CHECK(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_msaaBackBufferRbos[0]) ); GLenum attachment = BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL) || BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES >= 30) - ? GL_DEPTH_ATTACHMENT - : GL_DEPTH_STENCIL_ATTACHMENT + ? GL_DEPTH_STENCIL_ATTACHMENT + : GL_DEPTH_ATTACHMENT ; GL_CHECK(glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, m_msaaBackBufferRbos[1]) );