Show if GL_FRAMEBUFFER_SRGB is 0 for an SRGB FBO attachment

This commit is contained in:
baldurk
2015-01-16 11:34:35 +00:00
parent 7168a1b69c
commit 035eecfb1e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ namespace renderdoc
{
public ResourceId FBO;
bool FramebufferSRGB;
public bool FramebufferSRGB;
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
public ResourceId[] Color;
@@ -960,6 +960,9 @@ namespace renderdocui.Windows.PipelineState
typename = "TexCube";
tag = texs[t];
if (texs[t].format.srgbCorrected && !state.m_FB.FramebufferSRGB)
name += " (GL_FRAMEBUFFER_SRGB = 0)";
}
}