aboutsummaryrefslogtreecommitdiff
path: root/system/shaders
diff options
context:
space:
mode:
authorbobo1on1 <bobo1on1@svn>2010-01-15 17:17:57 +0000
committerbobo1on1 <bobo1on1@svn>2010-01-15 17:17:57 +0000
commit08402d379db7821ce28c82fab76ce43d40c38e6e (patch)
treee9a4947b5b08804ff3dfe0908b83abec65e670c4 /system/shaders
parent138337125c0fd3ac0878f7bc18df6e046bdccc88 (diff)
fixed: comments
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26877 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'system/shaders')
-rw-r--r--system/shaders/convolution-4x4.glsl2
-rw-r--r--system/shaders/convolution-6x6.glsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/shaders/convolution-4x4.glsl b/system/shaders/convolution-4x4.glsl
index b3de7d61de..b947df832c 100644
--- a/system/shaders/convolution-4x4.glsl
+++ b/system/shaders/convolution-4x4.glsl
@@ -14,7 +14,7 @@ uniform sampler2D kernelTex;
vec4 weight(float pos)
{
- //row 0 contains the integral part, row 1 contains the fractional
+ //row 0 contains the integer part, row 1 contains the fractional
return (texture2D(kernelTex, vec2(pos, 0.0)) * 256.0 + texture2D(kernelTex, vec2(pos, 1.0))) / 128.5 - 1.0;
}
#endif
diff --git a/system/shaders/convolution-6x6.glsl b/system/shaders/convolution-6x6.glsl
index 95b51361a4..6a5bb4f47e 100644
--- a/system/shaders/convolution-6x6.glsl
+++ b/system/shaders/convolution-6x6.glsl
@@ -14,7 +14,7 @@ uniform sampler2D kernelTex;
vec3 weight(float pos)
{
- //row 0 contains the integral part, row 1 contains the fractional
+ //row 0 contains the integer part, row 1 contains the fractional
return ((texture2D(kernelTex, vec2(pos, 0.0)) * 256.0 + texture2D(kernelTex, vec2(pos, 1.0)))).rgb / 128.5 - 1.0;
}
#endif