mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 15:19:14 +00:00
Fix D3D12 if MSAA is disabled on output windows
This commit is contained in:
1 file changed
+1
-1
@@ -81,7 +81,7 @@ void D3D12Replay::OutputWindow::MakeRTV(bool msaa)
|
||||
|
||||
colResolve = NULL;
|
||||
|
||||
if(msaa)
|
||||
if(msaa && D3D12_MSAA_SAMPLECOUNT > 1)
|
||||
{
|
||||
texDesc.SampleDesc.Count = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user