diff options
author | Underground78 <underground78@users.sourceforge.net> | 2015-07-29 19:52:04 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2015-08-02 19:48:38 +0300 |
commit | 2958ccba4aa639efb40e4c6aaa614a224dc4ae12 (patch) | |
tree | b2b35adb9920986be5fe23dbc0781efc97f75d5c /src/filters/renderer/VideoRenderers/SyncRenderer.cpp | |
parent | f5758c6b575392ff5be92a2517ed5c46c770547f (diff) |
Fix some "declaration hides previous declaration" warnings.
Mostly C4456 and C4457 warnings with a few C4458 warnings.
Diffstat (limited to 'src/filters/renderer/VideoRenderers/SyncRenderer.cpp')
-rw-r--r-- | src/filters/renderer/VideoRenderers/SyncRenderer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filters/renderer/VideoRenderers/SyncRenderer.cpp b/src/filters/renderer/VideoRenderers/SyncRenderer.cpp index 93d8ca493..946d890f2 100644 --- a/src/filters/renderer/VideoRenderers/SyncRenderer.cpp +++ b/src/filters/renderer/VideoRenderers/SyncRenderer.cpp @@ -1706,7 +1706,7 @@ STDMETHODIMP_(bool) CBaseAP::Paint(bool bAll) hr = m_pD3DDev->SetPixelShaderConstantF(0, (float*)fConstData, _countof(fConstData));
- int src = 1, dst = 0;
+ int srcTexture = 1, dstTexture = 0;
POSITION pos = m_pPixelShadersScreenSpace.GetHeadPosition();
while (pos) {
@@ -1714,7 +1714,7 @@ STDMETHODIMP_(bool) CBaseAP::Paint(bool bAll) m_pD3DDev->SetRenderTarget(0, pBackBuffer);
} else {
CComPtr<IDirect3DSurface9> pRT;
- hr = m_pScreenSizeTemporaryTexture[dst]->GetSurfaceLevel(0, &pRT);
+ hr = m_pScreenSizeTemporaryTexture[dstTexture]->GetSurfaceLevel(0, &pRT);
m_pD3DDev->SetRenderTarget(0, pRT);
}
@@ -1723,9 +1723,9 @@ STDMETHODIMP_(bool) CBaseAP::Paint(bool bAll) Shader.Compile(m_pPSC);
}
hr = m_pD3DDev->SetPixelShader(Shader.m_pPixelShader);
- TextureCopy(m_pScreenSizeTemporaryTexture[src]);
+ TextureCopy(m_pScreenSizeTemporaryTexture[srcTexture]);
- std::swap(src, dst);
+ std::swap(srcTexture, dstTexture);
}
hr = m_pD3DDev->SetPixelShader(nullptr);
|