mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 10:08:51 +00:00
D3D: Drop gamma parameter from util draw helper
No longer needed as we perform gamma correction during the XFB copy.
This commit is contained in:
parent
e89ac769fb
commit
7a745e5b0d
6 changed files with 20 additions and 32 deletions
|
@ -180,11 +180,10 @@ void DXTexture::ScaleRectangleFromTexture(const AbstractTexture* source,
|
|||
srcRC.right = srcrect.right;
|
||||
srcRC.top = srcrect.top;
|
||||
srcRC.bottom = srcrect.bottom;
|
||||
D3D::drawShadedTexQuad(srcentry->m_texture->GetSRV(), &srcRC, srcentry->m_config.width,
|
||||
srcentry->m_config.height, PixelShaderCache::GetColorCopyProgram(false),
|
||||
VertexShaderCache::GetSimpleVertexShader(),
|
||||
VertexShaderCache::GetSimpleInputLayout(),
|
||||
GeometryShaderCache::GetCopyGeometryShader(), 1.0, 0);
|
||||
D3D::drawShadedTexQuad(
|
||||
srcentry->m_texture->GetSRV(), &srcRC, srcentry->m_config.width, srcentry->m_config.height,
|
||||
PixelShaderCache::GetColorCopyProgram(false), VertexShaderCache::GetSimpleVertexShader(),
|
||||
VertexShaderCache::GetSimpleInputLayout(), GeometryShaderCache::GetCopyGeometryShader(), 0);
|
||||
|
||||
g_renderer->RestoreAPIState();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue