aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/shaders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/gles2/shaders.c b/render/gles2/shaders.c
index c1db6e20..ff6fba9c 100644
--- a/render/gles2/shaders.c
+++ b/render/gles2/shaders.c
@@ -94,9 +94,9 @@ const GLchar fragment_src_rgbx[] =
const GLchar fragment_src_external[] =
"#extension GL_OES_EGL_image_external : require\n"
"precision mediump float;"
+"varying vec2 v_texcoord;"
"uniform samplerExternalOES texture0;"
-"varying vec2 v_uv;"
"void main() {"
-" vec4 col = texture2D(texture0, v_uv);"
+" vec4 col = texture2D(texture0, v_texcoord);"
" gl_FragColor = vec4(col.rgb, col.a);"
"}";