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:
degasus
2013-10-07 17:52:22 +02:00
parent 7c14463d11
commit 6e2fe72b8f
11 changed files with 13 additions and 139 deletions

View File

@ -355,12 +355,6 @@ void PixelShaderManager::SetConstants(u32 components)
nMaterialsChanged = 0;
}
}
if(dirty && g_ActiveConfig.backend_info.APIType != API_OPENGL)
{
g_renderer->SetMultiPSConstant4fv(0, sizeof(constants)/16, (float*) &constants);
dirty = false;
}
}
void PixelShaderManager::SetPSTextureDims(int texid)