Use opaque black in ClearRenderTargetView()
Intel's old Gen9 performance guide says it's a little faster.
This commit is contained in:
parent
5feb331c46
commit
58f9b2a83b
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ void D3D11VARenderer::renderFrame(AVFrame* frame)
|
|||
lockContext(this);
|
||||
|
||||
// Clear the back buffer
|
||||
const float clearColor[4] = {0.0f, 0.0f, 0.0f, 0.0f};
|
||||
const float clearColor[4] = {0.0f, 0.0f, 0.0f, 1.0f};
|
||||
m_DeviceContext->ClearRenderTargetView(m_RenderTargetView.Get(), clearColor);
|
||||
|
||||
// Bind the back buffer. This needs to be done each time,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue