mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[d3d9] Don't check for sRGB formats when retrieving back buffer view
Turns out this is always false anyway.
This commit is contained in:
parent
582b06a706
commit
38a0d2c552
@ -624,10 +624,8 @@ namespace dxvk {
|
||||
auto swapImage = m_backBuffers[0]->GetCommonTexture()->GetImage();
|
||||
auto swapImageView = m_resolveImageView;
|
||||
|
||||
if (swapImageView == nullptr) {
|
||||
bool isSrgb = swapImage->formatInfo()->flags.test(DxvkFormatFlag::ColorSpaceSrgb);
|
||||
swapImageView = m_backBuffers[0]->GetImageView(isSrgb);
|
||||
}
|
||||
if (swapImageView == nullptr)
|
||||
swapImageView = m_backBuffers[0]->GetImageView(false);
|
||||
|
||||
// Wait for the sync event so that we respect the maximum frame latency
|
||||
uint64_t frameId = ++m_frameId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user