Skip to content

Commit cdfa86c

Browse files
authored
Merge pull request #2 from artrointel/master
Update blur.fsh
2 parents b558b4d + 5c7e893 commit cdfa86c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/src/main/res/raw/blur.fsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ float SCurve (float x) {
1313
return -x * abs(x) * 0.5 + x + 0.5;
1414
}
1515

16-
vec4 BlurH (sampler2D source, vec2 size, vec2 uv, float radius) {
16+
vec4 BlurH (samplerExternalOES source, vec2 size, vec2 uv, float radius) {
1717

1818
if (radius >= 1.0)
1919
{
@@ -59,4 +59,4 @@ void mainImage( out vec4 fragColor, in vec2 fragCoord )
5959

6060
void main() {
6161
mainImage(gl_FragColor, texCoord*iResolution.xy);
62-
}
62+
}

0 commit comments

Comments
 (0)