mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-25 19:56:01 +00:00
GL: Fixed main back buffer sRGB state with MSAA. (#3987)
This commit is contained in:
committed by
GitHub
parent
3ca5a63428
commit
ca8e4528a2
@@ -4141,7 +4141,8 @@ namespace bgfx { namespace gl
|
||||
|
||||
if (m_srgbWriteControlSupport)
|
||||
{
|
||||
if (0 == m_currentFbo)
|
||||
if (0 == m_currentFbo
|
||||
|| !isValid(_fbh) )
|
||||
{
|
||||
const uint32_t surfaceFlags = isValid(_fbh)
|
||||
? m_frameBuffers[_fbh.idx].m_desc.flags
|
||||
|
||||
Reference in New Issue
Block a user