Skip to content

Commit e3ca25a

Browse files
authored
Merge pull request #308 from Wikot235/Fix-BlurFilterY-uses-width-instead-of-height
Fixed BlurFilterY uses width instead of height
2 parents 7da95ed + cd6ec90 commit e3ca25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp/src/materialsystem/stdshaders/BlurFilterY.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ BEGIN_VS_SHADER_FLAGS( BlurFilterY, "Help for BlurFilterY", SHADER_NOT_EDITABLE
8585

8686
// The temp buffer is 1/4 back buffer size
8787
ITexture *src_texture = params[BASETEXTURE]->GetTextureValue();
88-
int height = src_texture->GetActualWidth();
88+
int height = src_texture->GetActualHeight();
8989
float dY = 1.0f / height;
9090
// dY *= 0.4;
9191
float v[4];

0 commit comments

Comments
 (0)