mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
D3D: also uses VideoCommon constant buffer handling
As now both backends uses the VideoCommon one, the old setting API was removed.
This commit is contained in:
parent
7c14463d11
commit
6e2fe72b8f
11 changed files with 13 additions and 139 deletions
|
@ -517,12 +517,6 @@ void VertexShaderManager::SetConstants()
|
|||
SetMultiVSConstant4fv(C_PROJECTION, 4, correctedMtx.data);
|
||||
}
|
||||
}
|
||||
|
||||
if(dirty && g_ActiveConfig.backend_info.APIType != API_OPENGL)
|
||||
{
|
||||
dirty = false;
|
||||
g_renderer->SetMultiVSConstant4fv(0, sizeof(constants)/16, (float*) &constants);
|
||||
}
|
||||
}
|
||||
|
||||
void VertexShaderManager::InvalidateXFRange(int start, int end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue