a311299606
For game capture, neither GL nor D3D9 support SRGB shared textures, so disable linear SRGB support if the texture format doesn't support it. Similarly, DXGI display capture doesn't work with SRGB at the moment. Unsure if it will with more work, but disable for now. Also force linear SRGB off if using GDI-compatible textures.