Skip to content
Browse files

cosmetic: consistently use parameters instead of members

  • Loading branch information...
1 parent 0b1a7a4 commit 5a8ecb2bca0b615fcb3d19150f5a58f8895b8350 @CrystalP CrystalP committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp
View
8 xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp
@@ -770,18 +770,18 @@ void CConvolutionShaderSeparable::PrepareParameters(unsigned int sourceWidth, un
v[5].x = destRect.x2;
v[5].y = destRect.y1;
- v[5].tu = (destRect.x2 - destRect.x1) / m_destWidth;
+ v[5].tu = (destRect.x2 - destRect.x1) / destWidth;
v[5].tv = 0;
v[6].x = destRect.x2;
v[6].y = destRect.y2;
- v[6].tu = (destRect.x2 - destRect.x1) / m_destWidth;
- v[6].tv = (sourceRect.y2 - sourceRect.y1) / m_sourceHeight;
+ v[6].tu = (destRect.x2 - destRect.x1) / destWidth;
+ v[6].tv = (sourceRect.y2 - sourceRect.y1) / sourceHeight;
v[7].x = destRect.x1;
v[7].y = destRect.y2;
v[7].tu = 0;
- v[7].tv = (sourceRect.y2 - sourceRect.y1) / m_sourceHeight;
+ v[7].tv = (sourceRect.y2 - sourceRect.y1) / sourceHeight;
// -0.5 offset to compensate for D3D rasterization
// set z and rhw

0 comments on commit 5a8ecb2

Please sign in to comment.
Something went wrong with that request. Please try again.