diff options
| author | degasus <wickmarkus@web.de> | 2013-10-07 17:52:22 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-10-12 20:29:56 +0200 |
| commit | 6e2fe72b8fe0bfd13171b43bcbff40b20d15737e (patch) | |
| tree | 3ac0e8156d68005fd089372d4e00178cd5142c53 /Source/Core/VideoCommon/Src/PixelShaderManager.cpp | |
| parent | 7c14463d11f816b1dd0cd2efd9bbe018f4d64a4a (diff) | |
D3D: also uses VideoCommon constant buffer handling
As now both backends uses the VideoCommon one, the old setting API was removed.
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/PixelShaderManager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp index 970bdb6e58..46672758e4 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp @@ -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) |
