diff options
| author | NeoBrainX <NeoBrainX@gmail.com> | 2013-03-26 23:44:41 +0100 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@gmail.com> | 2013-03-26 23:44:41 +0100 |
| commit | 98362e5934d7c3dadbc8a4f5adc6dd523e535447 (patch) | |
| tree | 3cd0ae31b0431baf3cd03645a7eac83355c33694 /Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | |
| parent | 24ab51f9f618cea9260f5b432317f5ac95a538d6 (diff) | |
Fix Windows build, try 2.
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp index f818c5df87..7237603eab 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp @@ -462,7 +462,7 @@ void PixelShaderCache::Shutdown() bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) { PixelShaderUid uid; - GetPixelShaderUid(uid, dstAlphaMode, components); + GetPixelShaderUid(uid, dstAlphaMode, API_D3D11, components); // Check if the shader is already set if (last_entry) @@ -508,7 +508,6 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components) if (g_ActiveConfig.bEnableShaderDebugging && success) { PixelShaders[uid].code = code.GetBuffer(); - GetSafePixelShaderId(&PixelShaders[uid].safe_uid, dstAlphaMode, components); } GFX_DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE, true); |
