mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Add flags to ResourceFormat to replace bgraOrder/srgbCorrected
* Allows for future expansion as well
This commit is contained in:
@@ -1790,7 +1790,7 @@ void GLPipelineStateViewer::setState()
|
||||
format = tex->format.Name();
|
||||
typeName = ToQStr(tex->type);
|
||||
|
||||
if(tex->format.srgbCorrected && !state.framebuffer.framebufferSRGB)
|
||||
if(tex->format.srgbCorrected() && !state.framebuffer.framebufferSRGB)
|
||||
format += lit(" (GL_FRAMEBUFFER_SRGB = 0)");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user